RE: [PHP] make a variable not exist?

2003-06-13 Thread Ford, Mike [LSS]
> -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

Re: [PHP] make a variable not exist?

2003-06-12 Thread Leif K-Brooks
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

Re: [PHP] make a variable not exist?

2003-06-12 Thread Alex Earl
> > 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