refresh a page in PHP
########## mymeta.php ##############
<html>
<head>
<meta HTTP-EQUIV="refresh" content=5;url="bye.html">
</head>
<body>
<h1>hello</h1>
</body>
</html>
############### bye.html ############
<html>
<h2>BYE</h2>
</html>
meta HTTP-EQUIV="refresh" is going to take same action on the browser as an HTTP header takes.
content =5 i.e 5 seconds
url: the page u want after 5 seconds.


0 Comments:
Post a Comment
<< Home