CheapDotNet Portal Language
 
HomeKnowledge BaseProgrammingPHPHow to refersh a page?
Information
Article ID168
Created On8/28/2008
Modified8/28/2008
Share With Others
How to refersh a page?
To do a refresh, you can use HTML meta tag such as :

<meta http-equiv="refresh" content="200" />

That'll refresh to example.php in four (200) seconds.  It's also worth
mentioning that various predefined variables exist that reflect the
current page, run phpinfo() to see which exist on your system.  A
commonly used one is called as $PHP_SELF For example, let's say we
wanted to refresh a page every 4 seconds forever (not suggested :-)
then :