Re: isset()
| From: | Christian Reiniger | Date: | Sat, 24 Feb 2001 16:51:07 +0000 |
| Subject: | Re: isset() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41498@lists.php.net to get a copy of this message | ||
On Saturday 24 February 2001 17:18, PHPBeginner.com wrote:
> in my preceding email I've written:
>
> if($var!='')
>
> will fix your all your worries without an intervention of a strings
> function.
Except that it will throw a warning in PHP4 if $var is not set.
=> isset () should be used.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June 1972