Looks like you very nearly had it.  Just got your find syntax slightly
wrong, try:

$array = $this->User->find('all', array(
  'fields'=>array('id, 'Userpage.id', 'User.animal_id',
'Animal.frontfilename'),
  'conditions'=>$conditions,
  'order'=>$order
);

Then go have a look at the cookbook and study the syntax of the find
command a bit more.  The first parameter should be the type of call,
in this instance 'all'.

The second parameter needs to be an array with your fields,
conditions, order etc.

Hope this helps
--~--~---------~--~----~------------~-------~--~----~
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