Results 1 to 21 of 21
Jun 7, 2002, 17:46 #1
- Join Date
- May 2002
- Barcelona, Spain
- 0 Post(s)
- 0 Thread(s)
$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?
ThanksUsed to prefer PHP.
Now I prefer Maya but stuck with PHP