if statement help

From: Date: Thu, 03 Nov 2005 15:13:10 +0000
Subject: if statement help
Groups: php.general 
Request: Send a blank email to php-general+get-225048@lists.php.net to get a copy of this message
I am trying to determine if it is worth my time to attempt a if statement similar to the following. I am asking because I have not found any references to something like this: if( ( !empty( $var1 ) ) || ( if( !empty( $var2 ) ) && ( !empty( $var3 ) ) ) || ( $var1 == "something" ) ) { // do something fancy } -- Jason Gerfen "My girlfriend threated to leave me if I went boarding... I will miss her." ~ DIATRIBE aka FBITKK

« previous php.general (#225048) next »