Re: make a variable not exist?
| From: | Leif K-Brooks | Date: | Thu, 12 Jun 2003 21:39:12 +0000 |
| Subject: | Re: make a variable not exist? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151319@lists.php.net to get a copy of this message | ||
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 double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.