Hardbyte Posted March 26, 2006 Share Posted March 26, 2006 Hi.So, Iv got an index page that calls all the other different pages if you know what I mean. So in total, I got an index page, a header and then the body (mainpage) and then a footer.I need to automatically refresh the body (mainpage) only every 30 secs or whatever. But:- [code]<META http-equiv="refresh" content="10;URL=index.php?page=mainpage">[/code] appears to refresh the whole index file including header and footer which is causing a bandwidth issue.Is there any way of auto-refreshing the mainpage only on a timer?Thanks in advance.Hardbyte Quote Link to comment https://forums.phpfreaks.com/topic/5837-auto-refresh/ Share on other sites More sharing options...
redarrow Posted March 26, 2006 Share Posted March 26, 2006 use ajax[a href=\"http://blog.tn38.net/archives/2005/08/what_is_ajax.html\" target=\"_blank\"]http://blog.tn38.net/archives/2005/08/what_is_ajax.html[/a] Quote Link to comment https://forums.phpfreaks.com/topic/5837-auto-refresh/#findComment-20799 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.