Jump to content


Photo

Auto-Refresh


  • Please log in to reply
1 reply to this topic

#1 Hardbyte

Hardbyte
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationMidlands, UK

Posted 26 March 2006 - 07:43 AM

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:-
<META http-equiv="refresh" content="10;URL=index.php?page=mainpage">
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

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 26 March 2006 - 08:09 AM


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]
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users