Dynamic Photo Display Questions
I'm using CS5 to build a business website using a dynamic data setup. It's using a "Holy Grail" 3 column div tag layout with the nav bar on the left. I'm using PHPAdmin to build a MySQL database. My goal is that if they click a product category like a fan or light fixture on the left, the center column will display a thumbnail image of the product, along with it's name and price. If they click that display in the center, the full product description and full size picture will display in the right column. It's going to be around 20,000 products when all said and done, which is why I don't feel like making that many pages or individual links.
I'm not sure how to get the images linked up to the database like that or about how to set the code in the site to have a loop that will display everything from that category in a neat list.
So far I've been referred to PHP and AJAX for this. I don't yet have any insert, or display code in the site (thought I needed this part first).
The database is set up that the table has PRODUCT_ID, NAME, DESCRIPTION, PRICE, SALE_PRICE, IMAGE, CATEGORY. I'm using PHPAdmin 3.2.0.1. I don't know about how to do the image thing, I've been told to use binary data and to set the IMAGE field to text-type and just have the text be the image path. That's honestly all I have to go on.
All I can find in any search engine or forum is just references to using BLOB formats and PHP code tailored to it, and on top of already knowing that's a bad idea, every comment and suggestion on those searches tells the same, but it's all I seem to find. Any advice, suggestions, reading material? For now I'm only using my computer for localhost testing, but the company has a small server network among it's buildings that will end up being the second phase of testing before we go live.