You can use HasMany and BelongsTo : OS hasMany requirements (on model OS) browsers hasMany requirements (on model browsers )
requirements belongsTo OS, browsers (on model requirements) check on manual.cakephp.org about explanation using association hasMany and belongsTo On 10/9/08, Ralle <[EMAIL PROTECTED]> wrote: > > > Here's the situation: > table browsers: > id name > > table operatingsystems: (OS) > id name > > table requirements > id name user_id etc. etc. > > I need to link requirements to a browser and OS combination. > E.g. one requirement needs to be fulfilled in XP/Firefox, XP/IE7 and > Ubuntu/Firefox > > How would my join tables look like? and the model? Can i use the > command line 'bake' to cook this stuff up? > > Cheers, Rasmus > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---