View Full Version : uploaded images dont work with php form

07-04-2008, 10:55 PM

My php form, using a "file" input, seems to only store the image name in the database. I thought that by changing the file type, it would upload the full filename, however I don't know which file type to use other than "text".

When I display the table data, if the intended file was localhost\antiques\images\image1.jpg all that will show is the text "image1". So hopefully when this problem of uploading the full filepath is corrected, will the images begin to show?


07-05-2008, 03:07 AM
problem solved, simply moved images to the main directory.. obviously i need to add the path myself..

07-05-2008, 08:31 AM
nice one mate