Re: if question
| From: | Jason Wong | Date: | Tue, 17 Dec 2002 13:11:18 +0000 |
| Subject: | Re: if question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128547@lists.php.net to get a copy of this message | ||
On Tuesday 17 December 2002 21:04, John Fishworld wrote:
> Help !
>
> Can anyone tell me why this doesn't seem to work ??
_HOW_ does it not work?
> if (($stelle_who != '1') OR ($stelle_who != '2') OR ($stelle_who !=
> '3') OR
> ($stelle_who != '5') ) {
>
> and what can i use as an alternative syntex ??
_WHAT_ are you trying to test for?
Trying to read your mind, I would say use AND instead of OR.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
He that is giddy thinks the world turns round.
-- William Shakespeare, "The Taming of the Shrew"
*/