$PHP_SELF produces problems with submit form
Hello, maybe someone knows this one.
I have a form the goes to itself using $PHP_SELF, no problem. I also use that same form to send it URL variables ($_GET). My problem is that after I send the URL variables to populate ther form (so that users can update records), when I hit the submit button again, the URL variables are not cleared! Hence my submit (update) doesn't work because one of the URL variables is used in an IF statement to show the form.
My question is, how can I clear the URL variables when I submit the form? There has to be a simple way to do this right?