Brian W Posted September 22, 2008 Share Posted September 22, 2008 I have an game i'm building that will have several users viewing at the same time and even a few changing it too. Right now i have the page refresh every 10 seconds, which is often enough. BUT, I don't like the refresh effects at all.. it always takes me back up to the top left of the screen, it messes with my javascripts, and it just doesn't look pleasant. Can I get the data updated without refreshing the whole page using PHP or should I go to a new language for this function? if so, which language please. Thank you. Link to comment https://forums.phpfreaks.com/topic/125350-live-data-from-database/ Share on other sites More sharing options...
genericnumber1 Posted September 22, 2008 Share Posted September 22, 2008 You'd want to look into using ajax. Link to comment https://forums.phpfreaks.com/topic/125350-live-data-from-database/#findComment-647921 Share on other sites More sharing options...
Brian W Posted September 22, 2008 Author Share Posted September 22, 2008 thank you for the suggestion. Though I have looked into ajax, I wasn't sure if that was where I should be looking. Again, thank you. Link to comment https://forums.phpfreaks.com/topic/125350-live-data-from-database/#findComment-647925 Share on other sites More sharing options...
genericnumber1 Posted September 22, 2008 Share Posted September 22, 2008 of course, and don't be afraid to post any questions in the ajax forums, it's a meticulous technology to master Link to comment https://forums.phpfreaks.com/topic/125350-live-data-from-database/#findComment-647933 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.