I want to see $var1= $var2, $var3, or $var4.
I can do this :if ($var1==$var2||$var1=$var3||$var1=$var4) {} esle {}
But is there a way to do this, just writing $var1 once.
ie if $var1 in ($var2,$var3,$var4), or something similar
the in_array() (PHP4) command is the only one I know of to do this.
if(in_array($var1,array($var2,$var3,$var4)){}
hope this helps, stef