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 [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