> -Original Message-
> From: Amanda McComb [mailto:[EMAIL PROTECTED]
> Sent: 12 June 2003 22:21
>
> Is there a way to make a variable not exist? There are several places
> where I test (!$variable), and I want to be able to change the
> variable to pass that test, even though it exists, u
And won't generate a notice.
Alex Earl wrote:
You can unset the variable www.php.net/unset but also I would recommend
using if(!isset($variable)) instead of just if(!$variable) its a little
more clear as to what you are really trying to see I think.
Alex
--
The above message is encrypted with
>
> Is there a way to make a variable not exist? There are several places
> where I test (!$variable), and I want to be able to change the
> variable to pass that test, even though it exists, under certain
> circumstances.
>
> Thanks.
>
You can unset the variable www.php.net/unset but also I wou
Is there a way to make a variable not exist? There are several places
where I test (!$variable), and I want to be able to change the
variable to pass that test, even though it exists, under certain
circumstances.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
4 matches
Mail list logo