skim5_1999 Posted April 9, 2011 Share Posted April 9, 2011 Hello - In Exercise 2, each coffee sales item alllows for 1 image. I am trying to move to an image gallery where each sales item will display multiple photos (one large photo with corresponding thumbnail view). I have the css template for an image gallery, but don't know how to store multiple photos per sales item in the database. Tried adding multiple photos via phpMyadmin in the general_coffees table (used commas to separate each jpg), but that did not work. Any way to do this? Many thanks in advance for your help sjk Link to comment Share on other sites More sharing options...
Jonathon Posted April 9, 2011 Share Posted April 9, 2011 Store the image locations in a seperate table in your database and use relational keys to relate them to a product from another table. 1 Link to comment Share on other sites More sharing options...
Recommended Posts