Re: If Statement with more than one conclusion

From: Date: Thu, 03 Jan 2002 08:37:28 +0000
Subject: Re: If Statement with more than one conclusion
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79293@lists.php.net to get a copy of this message
if (($text=="com")||($text=="net")||($text=="org")||($text=="info")) { } -- Best regards, George Nicolae IT Manager ___________________ X-Playin - Professional Web Design www.x-playin.f2s.com <rdkurth@starband.net> wrote in message news:4833515913.20020102212144@starband.net... > How can I do an if statement with more than one conclusions > Something like this I know this is not correct just an example of what > I what to do > If($ext=="com"or"net"or"org"or"info"){ > Then do this > } > If($ext=="com.uk"or"me.uk"or"org.uk){ > Then do this > } > > > -- > Best regards, > rdkurth mailto:rdkurth@starband.net >

« previous php.general (#79293) next »