dlebowski Posted February 25, 2009 Share Posted February 25, 2009 What I want to do, is have the results of a MYSQL query be displayed on my page every 5 seconds without have to refresh the page. So for example, I have a MYSQL query that I can run that will display results on my page if I click refresh or with an autorefresh. I don't want to have to use those. I would like for javascript to run and automatically display the MYSQL query data on the page. Is this possible? Thank you! Link to comment https://forums.phpfreaks.com/topic/146788-mysql-auto-update-timer/ Share on other sites More sharing options...
corbin Posted February 25, 2009 Share Posted February 25, 2009 Yes it's possible. Have you tried anything? Read a few AJAX tutorials, and look up the documentation on setTimeout(). Link to comment https://forums.phpfreaks.com/topic/146788-mysql-auto-update-timer/#findComment-770721 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.