I got a query:
select * from table where partner = '$partner' AND day='$date' AND checksales1='1'
Works fine...
Now I have added a new colum to my table: checksales2
I wish to use the same query above but with a OR included like: checksales1='1' OR checksales2='1'
But if use this query it does not work:
select * from table where partner = '$partner' AND day='$date' AND checksales1='1' OR checksales2='1'
How do I format it correct?