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 <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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:[EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]