I believe that is how I am currently structuring my $conditions. The following code doesn't work for me...
$conditions['NOT'] = array(blah); $conditions[0]['OR'] = array(blah, blah); $conditions[1]['OR'] = array(blah, blah); Is it just me? On May 28, 6:46 pm, Grant Cox <[EMAIL PROTECTED]> wrote: > I'm not sure if this was an intended change, so we'll see what happens > to your ticket. But to get the query you want just put the 'or' keys > inside another array. > > $conditions = array( > 'NOT' => array(..expiration...), > array( 'OR' => array(...like $term...) ), > array( 'OR' => array(...like $term2...) ) > ); > > To me this makes sense, as in the query you want each of these three > conditions joined by AND, but the latter two conditions to have OR > inside brackets. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---