MySQL Forums
Forum List  »  PHP

Using images with php and sql
Posted by: Dale Woods
Date: October 23, 2011 11:17PM

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?



Options: ReplyQuote

Written By
Using images with php and sql
October 23, 2011 11:17PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.