<input type="submit" value="Edit" onclick="window.location.replace('http://localhost/?username=<?=$_POST['username']?>&email=<?=$_POST['email']?>');return true;">
I would like to use the above code to GET the username and email value after the user clicks the edit button.
Problem is I have a log on screen for user to log in then after the user confirms his inputs (username, email address) he is free to choose to re-edit or register. The above code is pressed when he refuses to register but wants to get back to the logon screen to edit his information, that is why the POST[xx] in the browser's location where I want to use $_GET to retrieve them.