OK, I'm aware this is probably a very dumb, newbie question, but you gotta start somewhere, right?
Say I have a "users" table and a "messages" table. For each ONE user, there are MULTIPLE messages. However, when doing a findAll on the users, I would like it to spit back all the messages the user has both sent AND received. In the messages table, I am using "belongsTo" and the foreignKey is set to the user ID that the message was sent TO. How can I tell the model that the message also "belongs to" the user that sent the message? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
