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); } ?> Quote Link to comment 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); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.