Thanks working now that was stupid :p

But now i have this problem trying to query with findAll with
conditions:
I have this.

$this->set('items',
      $this->Item->findAll(array('Category.id'=>$category_id))
);

But it does not seem to recognize the category table what would be the
proper format?


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

Reply via email to