View Full Version : PHP Include Refreshing :s
HabbDance
04-11-2008, 09:49 PM
I have it set so that my php include refreshes every 45 sec. How can I make only the include refresh, rather the whole page?
Thanks in advance :] +rep
Jackboy
04-11-2008, 09:55 PM
have the included file in ajax or summin ;) much easier
HabbDance
04-11-2008, 10:00 PM
have the included file in ajax or summin ;) much easier
Is there anyway to do it without ajax?
Decode
04-11-2008, 10:03 PM
Is there anyway to do it without ajax?
Iframes, but ajax is the best way to do it. When you do a php include the server adds the included files html to the page before it is sent to the web browser so there is no way to refresh just a php include.
iUnknown
04-11-2008, 10:04 PM
You could just put the PHP include in a normal frame.
--ss--
04-11-2008, 10:08 PM
Put the Include inside a div then use ajax to refresh just the div, only way without using Iframes?
Dilore
04-11-2008, 11:19 PM
Like iUnknown said.. I'd put the include in a iframe.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.