Brian W Posted September 26, 2008 Share Posted September 26, 2008 Hello, I'm building a turn based board game with PHP and MySQL. The game works just fine except that I want to have up-to-date information from the MySql database (or at least on an interval of 6 seconds or something). I don't like the meta refresh because it looks bad and it also clears any forms. I was trying to use some script I found online that replaced innerHTML with what is would get from a URL. First of all, its been buggy, secondly it won't seem to re-quarry the data consistently. Bottom line, it doesn't work for everything I need it to do. Can anyone point me in a good direction of what I should be looking into? Link to comment https://forums.phpfreaks.com/topic/125996-live-data/ Share on other sites More sharing options...
corbin Posted September 27, 2008 Share Posted September 27, 2008 Look into AJAX. Most tutorials won't help you with this exactly, but do a few of them until you get the concept, and then when you have the concept down, you can apply it to this. Link to comment https://forums.phpfreaks.com/topic/125996-live-data/#findComment-651670 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.