Page 1 of 1

Uninitialise variable?

Posted: Mon Mar 20, 2006 10:32 am
by spacebiscuit
Hi,

Is it possible to uninitilise variable:

I have a variable $sitetrack which presently is equal to 1.

I want to now flush/empty the value so that the following clause evaluates as true:

Code: Select all

if(!$sitetrack)
Thanks,

Rob.

Posted: Mon Mar 20, 2006 10:33 am
by John Cartwright
$sitetrack = false;

Posted: Mon Mar 20, 2006 11:22 am
by spacebiscuit
Many thanks!