Tag Archives: submit button insert data two times after refresh the page

In a Form with post method insert data into database multiple times using submit button?

Please use header() function header(‘Location:index.php’); // you can use the location as the page where you are posting data Eg: form with post method in a page index.php and its action will be save.php—here in the save.php file use the header function.