PHP refresh window? equivalent to F5 page reload?
If you have any text before a
header('Location: http://www.example.com/youformhere.php');
you'll have issues, because that must be sent before any other text is sent to the page.
Try using this code instead
<?php $page = $_SERVER['PHP_SELF'];echo '<meta http-equiv="Refresh" content="0;' . $page . '">';?>
Just remember, this code will create and infinite loop, so you'll probably need to make some conditional changes to it.