RE: [PHP] Some questions about if and isset.

From: Date: Mon, 31 Jan 2005 15:10:40 +0000
Subject: RE: [PHP] Some questions about if and isset.
Groups: php.general 
Request: Send a blank email to php-general+get-207765@lists.php.net to get a copy of this message
[snip] <?php if (isset($variable)) { if ($variable < $constant) { Execute this code if $variable is less than $constant } elseif ($variable > $constant) { Execute this code if $variable is more than $constant } elseif ($variable == $constant) { Execute this code if $variable and $constant are equal } } else { Execute this code if $variable is not set } ?>

« previous php.general (#207765) next »