And, to be fair and balanced, the propel version: http://www.propelorm.org/wiki/Documentation/1.5/Relationships
And yes, you'll an intermediate table that links products and categories together. both columns (product_id, category_id) should be set to primaryKey: true. Both ORM's make it pretty easy to work with the relationship from there. Daniel On Apr 6, 11:53 am, Robert Heim <sa...@gmx.net> wrote: > Yep, here you > go:http://www.doctrine-project.org/documentation/manual/1_0/ru/defining-... > > Greets > Robert > > Am 06.04.2010 20:45, schrieb Bill P.: > > > I would like to be able to assign an item to multiple categories. > > I've been reading about how to assign many to many i think, but the > > association doesnt seem right. > > I should end up with a third table that records the item ID as well as > > the category ID that it is assigned to. > > > Am I missing something basic? > > Is there an online doc/tutorial about this? > > > It's in order to assign a product to multiple categories in a cart > > like situation. > > > Thanks. > > > -- > > If you want to report a vulnerability issue on symfony, please send it > > to security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony users" group. > > To post to this group, send email to symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe, reply using "remove me" as the subject.