I have Image upload questions....
Posted 02 September 2006 - 12:13 AM
I'm not sure I understand this image upload process for PHP/MYSQL....
I undestand that you can upload an image to a folder, but how do you tie the item in the MYSQL database to it's specific image?
Posted 02 September 2006 - 12:24 AM
Store the filename.extension in your databse .. then you use that to match the image name to the image
Posted 02 September 2006 - 12:29 AM
Host php.ini configuration...
Posted 02 September 2006 - 12:31 AM
$images_dir = 'images/gallery';
Posted 02 September 2006 - 09:05 PM
Looks like that tut shows how to store the images within the database .. Im sure the best option is to store the name+extension in the database and the photo/file in a folder on the server.
Post what code you have if you get stuck.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users