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:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-----

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

Reply via email to