Jump to content

Using images with php and sql


woodsy130

Recommended Posts

I am creating a website that will use static images that wont change on certain pages, similar to the way clothing stores do with pictures of their clothes.

 

What is the best way to do this? Do i store each image in a directory and store the imagepath in the database? and then use html to fetch the image?

 

Also, i want the user to click on each image to display more information (eg. clicking on an image of a jumper to display more information on it such as the size etc). Will I have to create a new file for EVERY image I use?? or is there a more efficient way of doing this?

 

PLS PLS PLS HELP!!!

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/249687-using-images-with-php-and-sql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.