I must be searching this wrong...b/c I can't find anything solid.
Can someone point me in the direction of a tutorial to store the image URL in a mysql db and the php scrpit to display the image.
Image URL in database
Moderator: General Moderators
http://www.freewebmasterhelp.com/tutorials/phpmysql
Keep in mind that you only want to store the link to the image, and not the actual image in the database.
Keep in mind that you only want to store the link to the image, and not the actual image in the database.
okay, I am losing it!
I understand that all I have to do is create a table that has an ID, Image URL, and description (if needed).
I cannot find any script as to how to display the image. I have a fairly good idea how to show the description.
I am either looking for the pic to match the url when clicked based on the ID (for example something like http://www.site.com/test.php?A=12, I don't even know if that is right)
or
just have the pic showup by defining the variable by the ID in php.
Thanks!
I understand that all I have to do is create a table that has an ID, Image URL, and description (if needed).
I cannot find any script as to how to display the image. I have a fairly good idea how to show the description.
I am either looking for the pic to match the url when clicked based on the ID (for example something like http://www.site.com/test.php?A=12, I don't even know if that is right)
or
just have the pic showup by defining the variable by the ID in php.
Thanks!