OR statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to first thank everyone for their help with the last few
questions I have had. I really appreciate it.

Here is my question:

 if ($audio == "Cool"){

Do this

}else{

Do that

}

This work fine, however, I would like to add to the criteria above. I would
like to say:

 if ($audio == "Cool" or "junk" or "funky"){

...

I have tried to look for something in the manual, and am still looking, but
a little help on this would be appreciated.

Thank you again,

--
Steve Marquez

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux