Redirect Issue with back button
I'm trying to post a success message on the same php page. When I press the back button on test.php it returns to the page with the success message again. How can I get back to the form when I press the back button instead and only display the success on submission of the form?
header("Refresh: 5; url=test.php");
<form method="post" action="">
<input type="submit" name="submit" value="Submit">