worldveil Posted March 7, 2011 Share Posted March 7, 2011 I am implementing a site that will be pulling data from a MySQL server every 2 seconds and updating the page accordingly. I want to redraw charts using Google Chart API as this is happening. Overall I do not want to have the page refresh for the user. How should I implement this (generally of course)? I don't think there is a way to do it all in javascript...since I need to access a remote database and all. Please let me know what advice you have. thanks! Link to comment https://forums.phpfreaks.com/topic/229851-php-javascript-mysql/ Share on other sites More sharing options...
kenrbnsn Posted March 7, 2011 Share Posted March 7, 2011 Javascript with AJAX to call your PHP to access the DB. Ken Link to comment https://forums.phpfreaks.com/topic/229851-php-javascript-mysql/#findComment-1183888 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.