Hello Martin,
Thanks that work perfect

Wednesday, January 02, 2002, 9:31:36 PM, you wrote:

MT> something like:

MT> If(in_array($ext, array("com", "net", "org", "info")){
MT> //Then do this
MT> }
MT> If(in_array($ext, "com.uk", "me.uk", "org.uk")){
MT> //Then do this
MT> }

MT> maybe??

MT> -----Original Message-----
MT> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
MT> Sent: Thursday, January 03, 2002 4:22 PM
MT> To: php-general
MT> Subject: [PHP] If Statement with more than one conclusion


MT> How can I do an if statement with more than one conclusions
MT> Something like this I know this is not correct just an example of what
MT> I what to do
MT> If($ext=="com"or"net"or"org"or"info"){
MT> Then do this
MT> }
MT> If($ext=="com.uk"or"me.uk"or"org.uk){
MT> Then do this
MT> }
  




-- 
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]

Reply via email to