Page 1 of 1

PHP AUTOUPDATE

Posted: Fri Jan 29, 2010 12:42 pm
by prizelocker.co.cc
Ok here's what I need, I have a section on my site that lists a user's current point value for answering daily questions. What I want is for when everytime a user answers a question, to automatically update that point value by 5. As of right now I have over 50 users and I have to update each users point value manually. I have no idea how to do this maybe someone could point me to a site to get directions or write out a script I would greatly appreciat it. So.. Anyone have any ideas?

Re: PHP AUTOUPDATE

Posted: Fri Jan 29, 2010 1:59 pm
by requinix
If the questions are being served through a PHP script, make it update the points when they're all answered.

Re: PHP AUTOUPDATE

Posted: Fri Jan 29, 2010 7:51 pm
by n1tr0b
what's your current script source??? may you post it here?? thanks

Re: PHP AUTOUPDATE

Posted: Sat Jan 30, 2010 2:15 am
by Hieroglyphics
If I understand what you want to do, SQL + Ajax :)