Hi, 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]
- Re: [PHP] testing if var is empty Justin French
- Re: [PHP] testing if var is empty Rasmus Lerdorf
- Re: [PHP] testing if var is empty Dave Freeman
- Re: [PHP] testing if var is empty Saquib Farooq
- Re: [PHP] testing if var is empty Stefan Rusterholz
- Re: [PHP] testing if var is empty Dave Freeman