try this:

if($type=="test1" || $type=="test2" || $type=="test3"){

Joseph

<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 
> Is it possible to do something like this all on one line.
> What I need is if any one of these are true then run the script
> 
> if($type=="test1")or($type=="test2")or($type=="test3"){
> 
>   
> 
> -- 
> Best regards,
>  rdkurth                          mailto:[EMAIL PROTECTED]
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to