RE: [PHP] multiple variables

From: Date: Fri, 15 Mar 2002 15:11:52 +0000
Subject: RE: [PHP] multiple variables
Groups: php.general 
Request: Send a blank email to php-general+get-88654@lists.php.net to get a copy of this message
Hi! > if(user($arbitraryVariable)==(1 or 2 or 3 or 4)) > What would be the proper syntax for this? Here: if((user($arbitraryVariable) >= 1) and ($arbitraryVariable <= 4) and ($arbitraryVariable == round($arbitraryVariable))) In other cases, you'd have to write if((user($arbitraryVariable)==1) or (user($arbitraryVariable)==2) or (...)) Cheers, Kiko ----- It's not a bug, it's a feature. christoph starkmann mailto:kiko@nfq.de http://www.fh-augsburg.de/~kiko ICQ: 100601600 -----

« previous php.general (#88654) next »