try
'recursive' => -1
On 03/26/2010 05:23 PM, amarradi wrote:
I have to correct it because in the that have to be an other value
$this->set('variable', $this->Model1->find('first',array(
'conditions' => array('Model1.id' => $id),
'recursive' => 1,
'fields' =>
array('Model1.id','Model1.title','Model1.description')
)
)
);
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
"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
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or
reply to this email with the words "REMOVE ME" as the subject.
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
"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
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or
reply to this email with the words "REMOVE ME" as the subject.