minusten — 2011-09-14T17:10:23-04:00 — #1
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);)
centered_effect — 2011-09-14T19:07:23-04:00 — #2
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
minusten — 2011-09-15T02:53:26-04:00 — #3
yes my sql,
no the image isnt on a database just the path
starlion — 2011-09-15T08:37:45-04:00 — #4