Hi thelorax

My solution to a similar problem was to use one table for all users, but 
have two models: "users" and "friends" that point to that one table. 
Then use a HABTM relationship between the two models to manage the 
association.

Regards,
Langdon


> I just started playing with Cake yesterday and am trying to set up a
> self referential many to many relationship using an example of users/
> friends that is common to most social networks.  

<snip>

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