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/');

 


SELL SELL SELL