On Thu, Jun 19, 2008 at 11:17 PM, Louie Miranda <[EMAIL PROTECTED]> wrote:
> Anyway.. tried this..
> $this->Post->find('articles', array('conditions'=> array('Post.category_id'
> => 1)));
>
> But, could not get the correct parameters working. I'll check again the
> book.

$this->Post->find('all', array('conditions' => array('Post.category_id' => 1)));

-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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