Hitster4 Posted September 22, 2010 Share Posted September 22, 2010 I have a php page that is maid up of three pieces. header.php main.php footer.php I can't figure out how to refresh the header.php and footer.php without refreshing the main.php. Anyone have an example of how I can do this. Thanks hits Link to comment https://forums.phpfreaks.com/topic/214072-how-to-refresh-just-headerphp/ Share on other sites More sharing options...
btherl Posted September 22, 2010 Share Posted September 22, 2010 Are they in frames? You would do that with javascript, though I'm not sure on the details. Link to comment https://forums.phpfreaks.com/topic/214072-how-to-refresh-just-headerphp/#findComment-1113974 Share on other sites More sharing options...
rwwd Posted September 22, 2010 Share Posted September 22, 2010 Sounds like an ajax job to me, google to see what I mean, it's such a powerful tool especially used in conjunction with jQuery... Rw Link to comment https://forums.phpfreaks.com/topic/214072-how-to-refresh-just-headerphp/#findComment-1113994 Share on other sites More sharing options...
Hitster4 Posted September 22, 2010 Author Share Posted September 22, 2010 I don't use iframes and have tried a few different things trying to refresh using a div but no luck so far.. thanks Hits Link to comment https://forums.phpfreaks.com/topic/214072-how-to-refresh-just-headerphp/#findComment-1114137 Share on other sites More sharing options...
btherl Posted September 22, 2010 Share Posted September 22, 2010 If you don't use frames or iframes (they are different btw), what do you use? Link to comment https://forums.phpfreaks.com/topic/214072-how-to-refresh-just-headerphp/#findComment-1114273 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.