PDA

View Full Version : PHP Form with image upload tool



lefonk
October 1st, 2008, 05:19 AM
Hi all,
i am searching somedays before making this topic but i couldn't find an answer.

I am making and portfolio section in Flash 8 with the use of xml ( parsed with PHP).
So in my php5 admin page for adding portfolio items i have a form like this:

Client
Projectname
Date
Details
several image upload boxes
details for each image

The last one is the problem.
I will upload a picture to a folder on the server.
But i want that the form automaticly put an value in the database with the location of the image.
With the result that i will get <image>portfolio/foto1.jpg</image>.

I dont know where to find something related. And my php knowledge isn't really good.

thanks in advance!