Online Shopping : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to
Did You Find This Entry Useful?

129 of 205 people (63%) answered Yes
Recently 5 of 10 people (50%) answered Yes


How do you refresh a PHP page into itself?

Nov 27th, 2008 09:18
mesothelioma asbestos, dman, Barry Munro, Nick Bair,

Add a line like this in the <head> section of your page:
<META HTTP-EQUIV=Refresh CONTENT="X; URL=<?php print $PHP_SELF ?>"> 
Where X is number of seconds before the page refreshes.