Discussion board
How do you clear a variable in PHP ?
By Manju S Reddy
how do you clear a variable in php....
Reply
Post   Reset
Teacher SiliconIndia replied to Manju S Reddy Wednesday, March 17, 2010
Hi Manjunath,
You can unset a variable in PHP by setting it to NULL. You can set a variable to NULL by declaring it normally or using the function unset().