reload php page automatically code example
Example 1: PHP auto refresh page
<?php
$url1=$_SERVER['REQUEST_URI'];
header("Refresh: 5; URL=$url1");
?>
Example 2: reload page in php
header("Refresh:0");
<?php
$url1=$_SERVER['REQUEST_URI'];
header("Refresh: 5; URL=$url1");
?>
header("Refresh:0");