I'm a semi-newbie, and if I want to check if a variable is set, or
contains something, i've been doing it like this:

if($var != "") { ... }

I'm sure there is a better/safer/smarter/faster/more reliable way?

Justin French

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