This is a solution to the problem of pressing refresh after posting a form causing a "resubmit form information message box" for the user.  This simply causes the page to reload and can be placed after handling the POST actions


if ( isset($_POST['action']))
{
	//----- AFTER ANY POST RELOAD THE PAGE SO REFRESH CAN BE USED -----
	header("Location: my_page_name.php");
	die();
}

 

Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published.