On Jun 1, 7:25 pm, havanna <[email protected]> wrote:

> But if I use this one like
> $conditions = array('OR' => array('Immobilien.zip' => array
> ($svZipCodes)));

Try to print the array: debug($conditions);

You are telling cake, that the zip field should equal one string with
your imploded zip codes.

You are actually complicating things much more than needed. Simply use
the array directly:
$conditions = array('Immobilien.zip' => $saZipCodes);

  Regards

    Jonathan

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