How do you clear a GET
value from the URL? I have my code to look at the error code that is in the URL, but if CLEAR is selected or they go from the sign-up page to the login page the GET
value persists and won’t clear out.
Example: The error=emptyinput needs to not show in the URL otherwise it will show the error that belongs to “emptyinput” as an error in the form.
http://localhost/csis2440/less-insecure/index.php?error=emptyinput