Jump to content

clearing arrays and variables


jumpenjuhosaphat

Recommended Posts

I am making a user sign in script, and I want to validate the script.  When validating, if the script finds any errors, I want the error to be echo'd, and the page to refresh, but, I need to clear any variables and arrays, like the $_POST array, so that the script doesn't continue to try to validate the form.  Is there a simple way of doing this?
Link to comment
https://forums.phpfreaks.com/topic/26299-clearing-arrays-and-variables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.