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? Quote Link to comment 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. 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.