corillo181 Posted July 1, 2007 Share Posted July 1, 2007 if the user enters a bad information i want all the others values to be unset but this does not work. how can i do it? <?php foreach($_POST as $k=>$v){ unset($k); } ?> Link to comment https://forums.phpfreaks.com/topic/57984-unset/ Share on other sites More sharing options...
pocobueno1388 Posted July 1, 2007 Share Posted July 1, 2007 This is all you have to do: <?php unset($_POST); ?> Link to comment https://forums.phpfreaks.com/topic/57984-unset/#findComment-287409 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.