try
conditions = array('AND' => array("Obj.length" => '>=6'), "Obj.length'
=> '<=13')))

On Oct 14, 4:29 am, MikeK <[EMAIL PROTECTED]> wrote:
> Can soeone please show me how to code this condition? 3 <= length <=
> 13
>
> conditions = array("Obj.length" => '>=6', "Obj.length' => '<=13');
>
> Only the second condition is evaluated because
> conditions['Obj.length'] = '<=13' is what gets set before the find.
>
> The BETWEEN condition excludes the endpoints and length is a decimal
> number so BETWEEN 2 AND 14 doesn't really help.
>
> I've tried making an array and I know I can do a custom request but
> what's the CAKE way of encoding this request?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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