Lets say I want.....

Foo = 1
AND
Bar = '2'
AND
(Cat LIKE 'a%' OR Cat LIKE 'b%' OR Cat LIKE 'c%')

Tried just about everything..... How can it be this hard??? Why are
there so many users not able to get queries to work in so many
situations? Does it mean the overall design of the query construtor is
broken and unusable for most?

Is there anywhere that shows a array layout for a decent query with
mutliple conditions and depths of logic?

All the examples I can find are very 2D and only include 1 table, and
never 2 'AND' conditions on the same field unless using IN array.

-Ben

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