Olexandr, Thanks I will look into that. Ben
On Jan 20, 6:00 pm, "Olexandr Melnyk" <[EMAIL PROTECTED]> wrote: > 2007/1/20, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > > > Hey all, > > I am trying to figure out how to use hasMany and a normalized database. > > These are the tables I have: > > > fabrics > > > fabrics_to_types (fabric_id, type_id) > > > types > > > Thanks, > > Benjamin SterlingWhat you need is not hasMany, but hasAndBelongsToMany > > ------------------------------- > Olexandr Melnyk,http://omelnyk.net/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
