First CakePHP project. So far, I'm loving it. But I have hit a
roadblock...

I have two tables: "communities" and "house_plans"
A community can have many house plans, so I have a community_id field
set in my house_plans table.

in my plan view, I'd like to show that plans details, but also include
a list of all the other plans that are in the same community as the one
you're viewing... i.e. say you were at this page, viewing this
house_plan:

www.site.com/plans/view/5

And in the house_plans table, record ids 8, 9, and 10 also have the
same community_id as record 5 above.

How do I get these related plans to show up in my view?

Thanks!


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

Reply via email to