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! Quote Link to comment 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(). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.