tecdesign Posted May 9, 2006 Share Posted May 9, 2006 How do I refresh a page using php? Quote Link to comment Share on other sites More sharing options...
trq Posted May 9, 2006 Share Posted May 9, 2006 You cant. php runs on the server not the client. You'll need to use javascript. Quote Link to comment Share on other sites More sharing options...
steveallen Posted May 9, 2006 Share Posted May 9, 2006 Just as you would normally ... Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted May 9, 2006 Share Posted May 9, 2006 [!--quoteo(post=372493:date=May 9 2006, 03:59 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ May 9 2006, 03:59 AM) [snapback]372493[/snapback][/div][div class=\'quotemain\'][!--quotec--]You cant. php runs on the server not the client. You'll need to use javascript.[/quote]Oh, PHP can! Just Use the header function with the refresh method![code]header("Refresh: 5; URL=http://www.google.com");[/code]Now before you use that function make sure you are not ouputing anything to the browser, Otherwise the function wont work! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.