Images in a database

    Date: 04/05/07 (Web Development)    Keywords: php, mysql, database, sql

    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

    Source: http://community.livejournal.com/webdev/400229.html

« css question || AJAX Question »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home