How to prevent a form from submitting on page refresh?

How to prevent a form from submitting on page refresh?

How to prevent a form from submitting on page refresh? PHP

Does your form keep submitting when you press refresh and you only want it to submit when a button is pressed

there is a very simple solution to this. at the end of your program add header function even if its to the same page.

header('Location: http://www.example.com/');

 


CAN YOU HELP


Turbo Charge your business

We put our money where our mouth is. Our mission is to help any business anywhere get back on track.

If we don't bring you new customers you pay us nothing. We take nothing up front and there is no contract. We trust you implicitly. And it is literally if you don't pay us for bringing in new customers, then we stop brining them in.

You decide how much you are willing to pay for a customer and you pay once we bring them to you.

Simple, easy nothing else to explain.

If you would like us to help you get your business or products booming email us at zigzads@gmail.com

Speak soon.