You can use the $or or $and operator to test multiple conditions of the same name:
$conditions = array( '$or' => array( array( 'date' => array( '$regex' => '/^arug/i', ), ), array( 'date' => array( '$regex' => '/^bro/i', ), ), ) ); Note, the value of the '$or' key in the $conditions array is a normal, zero-indexed array which contains two values: an associative array containing a 'date' key. Confusing, I know. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
