Ok thanks and have a nice day!
On 10/15/2008, Benni Graf <[EMAIL PROTECTED]> wrote:
>
> Hi there!
>
> Thank you very much everybody, that actually should've jumped my eye
> by itself, I'm sorry for bothering you ;-)...
>
> For sure those 'AND' as array-indexes overwrite each other, so only
> the
Hi there!
Thank you very much everybody, that actually should've jumped my eye
by itself, I'm sorry for bothering you ;-)...
For sure those 'AND' as array-indexes overwrite each other, so only
the last statement made it to the query-generating magic.
For the records: The solution is to 'wrap' t
I am sorry but what is the point of this post? What is the problem?
On 10/14/2008, ORCC <[EMAIL PROTECTED]> wrote:
>
> AND logical operator is asociative, hence:
>
> 'OR' => Array (
>'AND' => Array ( /*put all conditions here*/)
> )
>
> is equivalent, and here
AND logical operator is asociative, hence:
'OR' => Array (
'AND' => Array ( /*put all conditions here*/)
)
is equivalent, and here you don't rewrite the Array index.
--~--~-~--~~~---~--~~
You received this message because you
It looks to me like it's nothing to do with Cake - see your array:
'OR'=>array(
'AND'=>array(
// some conditions // don't appear in the query
),
'AND'=>array(
// some other conditions // don't appear in the query
),
'AND'=>array(
// more conditions - only