Hi, I have a table structure that isn't exactly HABTM but is kind of close, here it is.
I have users who all have one state (ie, MA, CA, NH), these users have posts so states have many users and users have many posts. How do I get the states to show up when I am using the post model, for example, $post['User']['state_id] gives me the id, on which i can run a helper function to get teh state name (by running another query), but i would like to just get it a spart of teh return object. All my joins are correct. I'm sure that this answer exists here somewhere, but I am not sure where. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
