Answers for "how to prevent refresh in php"

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
14

php refresh page

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

Browse Popular Code Answers by Language