khristian Posted February 10, 2008 Share Posted February 10, 2008 Hi, I am currently writing a PHP form for users to log into a website. Simple enough, they enter their username and password and the next page uses the info from the form $username = $_POST["user"]; $password = $_POST["pass"]; However, is there any way I can then get the page to clear the values of the $_POST["user"] and $_POST["pass"] areas? Any ideas would be appreciated :-) Link to comment https://forums.phpfreaks.com/topic/90352-php-form-issue/ Share on other sites More sharing options...
kenrbnsn Posted February 10, 2008 Share Posted February 10, 2008 Can you tell us what you are trying to achieve? The $_POST array is re-filled each time the script is invoked and clearing it doesn't affect what is shown on the screen. Ken Link to comment https://forums.phpfreaks.com/topic/90352-php-form-issue/#findComment-463257 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.