Kibit Posted September 29, 2008 Share Posted September 29, 2008 I currently using this code to display timed content... <?php $now = date("D_H:00"); //Sun $shows['Sun_18:00']['title']="Bla Bla Bla"; $shows['Sun_19:00']['title']="Bla Bla Bla"; ***SNIP*** echo $shows[date("D_H:00")]['title']; ?> Since I'm already calling the server time and on the hour as well I was wondering if there was anything I could add to this to make the page reload on the hour so even if a visitor stays on the site during change they are allways delivered the correct content? Link to comment https://forums.phpfreaks.com/topic/126327-reload-page-on-the-hour-server-time/ Share on other sites More sharing options...
genericnumber1 Posted September 29, 2008 Share Posted September 29, 2008 You would want to use javascript to reload the page. Link to comment https://forums.phpfreaks.com/topic/126327-reload-page-on-the-hour-server-time/#findComment-653321 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.