callesson Posted April 20, 2010 Share Posted April 20, 2010 Hello guys Is there a way to update SQL without refreshing the page? Because I have this game thing were two people fight against eachother. So if someone attacks me and i loose Health I want it to change without having to refresh... If you need more info, just tell me! Link to comment https://forums.phpfreaks.com/topic/199106-update-without-refreshing/ Share on other sites More sharing options...
jraede Posted April 20, 2010 Share Posted April 20, 2010 You can run a PHP script in the background by using AJAX. jQuery offers some great AJAX functions that you can use. Link to comment https://forums.phpfreaks.com/topic/199106-update-without-refreshing/#findComment-1045050 Share on other sites More sharing options...
callesson Posted April 20, 2010 Author Share Posted April 20, 2010 Okey, God idea Now Im off to learn AJAX:P ty! //btw are you good at AJAX ? Link to comment https://forums.phpfreaks.com/topic/199106-update-without-refreshing/#findComment-1045052 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.