How to control page jump in php: Control page jump by using header("Refersh: seconds; url=address"). For example, to achieve automatic jump after 3 seconds, the specific method is: [header("Refresh:3;url=helloworld.php")].
php automatically refreshes the current page after a certain delay and automatically jumps to the header ("Refresh: seconds; url=address").
(Recommended tutorial:php graphic tutorial)
Example:
Automatically jump after 3 seconds
(Video Tutorial recommendation:php video tutorial)
Automatically jump after 1 second
header("refresh:1;url={$url}");exit;
Call the sleep() method, the effect is also to execute the jump after x seconds
The above is the detailed content of How to control page jump in php. For more information, please follow other related articles on the PHP Chinese website!