How do I add multiple var to a if clause ?
| From: | Dave Carrera | Date: | Thu, 21 Feb 2002 10:40:11 +0000 |
| Subject: | How do I add multiple var to a if clause ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17118@lists.php.net to get a copy of this message | ||
Hi All
If($var == 1,2,3){
}
This is wrong so what is the right way.
I am try to find out a if var equals either 1 2 or 3 do something type
thing but cant find answers anywhere
Thanks in Advance
Dave Carrera
Php / MySql Development
Web Design
Site Marketing
http://www.davecarrera.com