nishmgopal Posted March 23, 2009 Share Posted March 23, 2009 Hi guys, I jsut wanted to know what the syntax was for releasing a variable name in php so I can use it again... is it something like mysql_release(variable name)?? thanks Link to comment https://forums.phpfreaks.com/topic/150791-how-to-release-variable-name/ Share on other sites More sharing options...
lonewolf217 Posted March 23, 2009 Share Posted March 23, 2009 i think this is what you want http://us2.php.net/unset Link to comment https://forums.phpfreaks.com/topic/150791-how-to-release-variable-name/#findComment-792211 Share on other sites More sharing options...
Mark Baker Posted March 23, 2009 Share Posted March 23, 2009 Or you can simply overwrite an existing variable with a new value $var1 = "ABC"; $var1 = 123; Link to comment https://forums.phpfreaks.com/topic/150791-how-to-release-variable-name/#findComment-792213 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.