List:General Discussion« Previous MessageNext Message »
From:Mike At Spy Date:October 15 2003 8:16pm
Subject:OR in MySQL statement?
View as plain text  

How could I write a statement that uses something like 'OR' as a case.  Like
this:

SELECT * FROM list WHERE name = '$this1' OR name = '$this2' OR name =
'$that1'

?

Thanks for any help,

-Mike


Thread
OR in MySQL statement?Mike At Spy15 Oct
  • Re: OR in MySQL statement?Gabriel Ricard15 Oct
  • Re: OR in MySQL statement?Dan Nelson15 Oct
  • Re: OR in MySQL statement?Colleen Dick16 Oct
  • Re: OR in MySQL statement?Nitin16 Oct