you can add product_id so that the image only belongs to the one
product.

Btw, how about to combine the product and image into one table ?
I used to make as one table instead of doing one on one relationship.
(less query .. i think)
cmiiw

adwin
www.wysmedia.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to