Jump to content

Archived

This topic is now archived and is closed to further replies.

tecdesign

Hey do I refresh a page

Recommended Posts

You cant. php runs on the server not the client. You'll need to use javascript.

Share this post


Link to post
Share on other sites
[!--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!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.