Images in a database
here is the site
So basically I am designing a database which lists a client_name, client_description, and then a list of images associated with that particular client. This is all stored in a MySQL database. I am not sure how to handle the images though. Each client will have around 6 images. I currently have it set up where every client has its own folder of images and the PHP just reads every image from that folder and displays it.
Would it be a better idea in terms of best practices to instead have an Images Table that keeps track of every image and what client it is associated with?
Not sure, Mike
So basically I am designing a database which lists a client_name, client_description, and then a list of images associated with that particular client. This is all stored in a MySQL database. I am not sure how to handle the images though. Each client will have around 6 images. I currently have it set up where every client has its own folder of images and the PHP just reads every image from that folder and displays it.
Would it be a better idea in terms of best practices to instead have an Images Table that keeps track of every image and what client it is associated with?
Not sure, Mike
