djfox Posted February 2, 2008 Share Posted February 2, 2008 I hope this is the right forum for this. I currently have some functioning javascript games on my site. What I would like for them to do is if the person playing them is logged in, they earn credits when they complete something in the game (basically updating the database for accomplishing a certain task in the game). Is this possible? Quote Link to comment Share on other sites More sharing options...
ryeman98 Posted February 2, 2008 Share Posted February 2, 2008 Definitely possible using AJAX. I don't know how to do it though. Quote Link to comment Share on other sites More sharing options...
Stooney Posted February 2, 2008 Share Posted February 2, 2008 AJAX for sure. Read this tutorial before you do anything. It will definitely get you started. http://marc.info/?l=php-general&m=112198633625636&w=2 Quote Link to comment Share on other sites More sharing options...
djfox Posted February 2, 2008 Author Share Posted February 2, 2008 Their coding did not work. Quote Link to comment Share on other sites More sharing options...
ryeman98 Posted February 2, 2008 Share Posted February 2, 2008 Well you can definitely google for such scripts but my cousin has been making really cool stuff with AJAX and he's online a lot of the time so if you want to ask him to point you in the right direction, just mail him: www.boedesign.com Quote Link to comment Share on other sites More sharing options...
djfox Posted February 2, 2008 Author Share Posted February 2, 2008 Well you can definitely google for such scripts but my cousin has been making really cool stuff with AJAX and he's online a lot of the time so if you want to ask him to point you in the right direction, just mail him: www.boedesign.com All righty, I`ll see what he says. Quote Link to comment Share on other sites More sharing options...
Stooney Posted February 2, 2008 Share Posted February 2, 2008 Their coding did not work. You mean you didn't read it, tried to copy and paste, and nothing worked. Quote Link to comment Share on other sites More sharing options...
ryeman98 Posted February 2, 2008 Share Posted February 2, 2008 Their coding did not work. You mean you didn't read it, tried to copy and paste, and nothing worked. Don't worry about it bud. If he wants to try to do it the easy way, that's his choice. He'll just end up hurting himself in the long run. Quote Link to comment Share on other sites More sharing options...
djfox Posted February 2, 2008 Author Share Posted February 2, 2008 Their coding did not work. You mean you didn't read it, tried to copy and paste, and nothing worked. I did read it. Quote Link to comment Share on other sites More sharing options...
Stooney Posted February 2, 2008 Share Posted February 2, 2008 Their coding did not work. You mean you didn't read it, tried to copy and paste, and nothing worked. I did read it. Then it would work. 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.