http://book.cakephp.org/view/74/Complex-Find-Conditions
On 22 Sep 2008, at 09:32, . wrote: > Hi > > How would I do an OR in the conditions, such as the following? > What's the > correct syntax? Thanks > > $messages = $this->Message->find('all', > array('conditions'=>array('Email.email'=>$email1 OR > 'Email.email'=>$email2))); > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---