I need to know how I can do a where clause in a select statement for mysql where one of the fields can have two solutions. In the example below field3 needs to equal all with a and also all with b. Can this be done and if so how. I am stumped on this one.
select * from table where field1= '$this' and field2 = '$that' and field3 = 'a and b' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php