BTMExpert
asked on
php submit a form on a page that doesn't resubmit the form
I have a page with a form on it the action is the same page. if i hit submit it does this
an some other things of course. When i hit refresh it refreshes the page but also resubmits the form. How can i stop it from resubmitting
if(isset($_POST['Submit'])){
echo "<meta http-equiv='refresh' content='0;URL=myurl>";
}
an some other things of course. When i hit refresh it refreshes the page but also resubmits the form. How can i stop it from resubmitting
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
header("location: myurl");