On Sep 16, 12:02 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm populating a friends list and I'm wondering how to write an SQL
> statement like:
>
> SELECT * FROM friend WHERE senderId = '$id' OR targetId = '$id'
You may find my Criteria Generator of use - http://propel.jondh.me.uk.
I
That's a great link Francois, thanks for the help. I tried Ant's
solution before posting and it wasn't working.
Thanks again guys,
Brendan
On Sep 16, 3:46 am, "Francois Zaninotto" <[EMAIL PROTECTED]
project.com> wrote:
> addOr() only works for columns on which you already have a criteria
> con