I suggest you study the section about retrieving data in the CakePHP
Set the recursive parameter to 2 when you retrive the data in the
Category model, like:
'conditions' => array(
'Category.id' => $id
'recursive' => 2
Try it out!
Later when you are more comfortable with the find statement, take a
look at the Containable behavior in the CakePHP book at:
Using that will make your find statements easier to work with.
On Jun 12, 8:15 pm, viciat <viciuasc...@xxxxxxxxx> wrote:
> I want to display the locations that are found in the offers of a particular
> When the user selects the Category with, let's say id 3, I want to display
> the locations that are found in the offers of that category and I don't know
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
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