Forum : How do you clear a variable in PHP ?
Brief description  about Online courses   join in Online courses
View Manju  S Reddy 's Profile

How do you clear a variable in PHP ?

how do you clear a variable in php....
Asked by Manju S Reddy | Mar 17, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
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().
Mar 17, 2010