PHP - auto refreshing page
Use a <meta>
redirect instead of a header redirect, like so:
<?php
$page = $_SERVER['PHP_SELF'];
$sec = "10";
?>
<html>
<head>
<meta http-equiv="refresh" content="<?php echo $sec?>;URL='<?php echo $page?>'">
</head>
<body>
<?php
echo "Watch the page reload itself in 10 second!";
?>
</body>
</html>
you can use
<meta http-equiv="refresh" content="10" >
just add it between the head tags
where 10 is the time your page will refresh itself