Im trying to get my php to retrieve the file path from my table then use it to display the image stored on the hdd.
can anyone help me here?
Is there something like the auto increment one that i could use? ($cid = mysql_insert_id($connection);)
Is the filepath & image file name stored in a database? If so, all you would probably need is:
(untested & assuming mysql)
SELECT CONCAT(file_path, '/', image) as image_file FROM images
yes my sql,
no the image isnt on a database just the path :D