test variable value?

From: Date: Wed, 11 Jan 2006 09:57:28 +0000
Subject: test variable value?
Groups: php.general 
Request: Send a blank email to php-general+get-228458@lists.php.net to get a copy of this message
Hello What is the best way to determine if a variable has no value? if ($var== '') or if ($var== 'null') Can 'null' be used here? Thanks -Willa

« previous php.general (#228458) next »