if($var1) is true if $var1 is set and has a non-0 and non-false value

if(isset($var1)) is true if $var1 is set to any value including 0 or false

if(!empty($var1)) is true if $var1 is set to anything except a null-string


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