Answers for "refresh php page using header lcation"

PHP
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
0

php header refresh

header("url=thepage.php;refresh:3");
exit();
// The user will be redirected after 3 seconds to thepage.php
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language