I use this:
<?php
$form_message = true;
if ($form_message)
echo '
<h1> Need to contact me? </h1>
<p> Please fill out your details and press the submit button to email me. <span class="bold">All fields are required</span>, thank you.</p><br />
';
?>
header("location:yourpage.php");
it should redirect you.
Here is the redirect code in html
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourweb.com/index.html">
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.