On Jan 2, 1:06 pm, "TopperUK" <[EMAIL PROTECTED]> wrote:
your on the right track, i think you need to look at you tables again
and find a better schema for the database structure

hmmm...probably. but I can't see any way to change this.
I could move the colors column to the Orders table but this would
duplicate data as colors is a fixed property of the item and the
item_id uniquely determines color.

i guess i'm gonna have to go back to plain sql then. *sigh*
it's a simple 3-way join there.

-- daniel


--~--~---------~--~----~------------~-------~--~----~
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