Answers for "refresh php page"

PHP
7

php refresh

//refreshes your current page
header("Refresh:0");

//refreshes your current page after 5 seconds
header("Refresh:5");

//If you need to redirect it to another page
header("Refresh:0; url=page2.php");
Posted by: Guest on October-08-2020
2

php header refresh

//Refreshes your current page
header("Refresh:0");
header("Refresh:2"); // Refreshes after 2 seconds

//If you need to redirect it to another page
header("Refresh:0; url=page2.php");
Posted by: Guest on May-13-2020
3

PHP auto refresh page

<?php
    $url1=$_SERVER['REQUEST_URI'];
    header("Refresh: 5; URL=$url1");
?>
Posted by: Guest on June-05-2020
14

php refresh page

header("Refresh:0");
Posted by: Guest on March-16-2020

Browse Popular Code Answers by Language