List:General Discussion« Previous MessageNext Message »
From:Colleen Dick Date:October 16 2003 4:44am
Subject:Re: OR in MySQL statement?
View as plain text  
Mike At Spy wrote:
> 
> 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
> 
> 
> 

ummmm.... just like that looks good to me.

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