ATM Posted December 5, 2006 Share Posted December 5, 2006 Hey,I was wondering if there is a way to either end a variable, or change a variable for example would <?php$number = "1";$number = "2";echo "$number";?> work or would I have to end the variable or do a function to change the variable.thanks, Link to comment Share on other sites More sharing options...
justsomeguy Posted December 5, 2006 Share Posted December 5, 2006 You can delete a variable by using the unset function.http://www.php.net/manual/en/function.unset.php Link to comment Share on other sites More sharing options...
ATM Posted December 5, 2006 Author Share Posted December 5, 2006 cheers, I should have really worked that out on my own I knew it can cancel sessions. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now