$owners = array('1','2','3') $equipment = $this->Equipment->findAll( array('Equipment.owner_id'=> $owners) );
This will generate WHERE `Equipment`.`owner_id` IN ('1','2','3') which sounds like what you want. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---