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.
On Fri, Jun 20, 2008 at 11:09 AM, Louie Miranda <[EMAIL PROTECTED]> wrote:
> I am still confused which find* on my controller to use.
>
> Basically, all I wanted to do is...
>
> $this->set('news', $this->Article->find*($paramsFornews));
> $this->set('article', $this->Article->find*($paramsForarticle));
> $this->set('gallery', $this->Article->find*($paramsForgallery));
>
>
> Array
>> (
>> [0] => Array
>> (
>> [Post] => Array
>> (
>> [id] => 47
>> [category_id] => 4
>> [title] => Gallery
>> [url] =>
>> [paragraph] =>
>> [published] => 1
>> [created] => 2008-05-29 11:31:00
>> [modified] => 2008-05-29 14:17:16
>> )
>>
>> [Category] => Array
>> (
>> [id] => 4
>> [created] => 0000-00-00 00:00:00
>> [modified] => 0000-00-00 00:00:00
>> [name] => News
>> )
>>
>> )
>>
>> ...
>>
>
> help!
>
> --
> Louie Miranda ([EMAIL PROTECTED])
> http://www.axishift.com
>
> Security Is A Series Of Well-Defined Steps
> chmod -R 0 / ; and smile :)
--
Louie Miranda ([EMAIL PROTECTED])
http://www.axishift.com
Security Is A Series Of Well-Defined Steps
chmod -R 0 / ; and smile :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---