1//Refreshes your current page
2header("Refresh:0");
3header("Refresh:2"); // Refreshes after 2 seconds
4
5//If you need to redirect it to another page
6header("Refresh:0; url=page2.php");
1header("url=thepage.php;refresh:3");
2exit();
3// The user will be redirected after 3 seconds to thepage.php