Re: Newbie variable help
| From: | gautam | Date: | Fri, 07 Jul 2000 13:03:29 +0000 |
| Subject: | Re: Newbie variable help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5370@lists.php.net to get a copy of this message | ||
hi,
use the unset($varname) function.for details refer the manual.
regards
gautam.
Phil Lambert wrote:
> Hi all,
> thanks for the replies to the Postgre question. My next question is how
> can you clear an existing variable?
>
> for example i set a variable: -
>
> $valid_num = blah blah blah
>
> and the test: -
>
> if ($valid_num)
>
> works. how can i reset the variable so that this doesnt work?
>
> cheers
> flip
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
If it is to be, it is up to me