Running a Model::find in for loop in cakephp v1.3
- by Gaurav Sharma
Hi all,
How can I achieve the following result in cakephp:
In my application a Topic is related to category, category is related to city and city is finally related to state
in other words:
topic belongs to category, category belongs to city , city belongs to state..
Now in the Topic controller's index action I want to find out all the topics…