PHP AUTOUPDATE

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
prizelocker.co.cc
Forum Newbie
Posts: 4
Joined: Fri Jan 29, 2010 12:39 pm

PHP AUTOUPDATE

Post 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?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP AUTOUPDATE

Post by requinix »

If the questions are being served through a PHP script, make it update the points when they're all answered.
n1tr0b
Forum Newbie
Posts: 5
Joined: Fri Jan 29, 2010 7:48 pm
Contact:

Re: PHP AUTOUPDATE

Post by n1tr0b »

what's your current script source??? may you post it here?? thanks
Hieroglyphics
Forum Newbie
Posts: 13
Joined: Wed Jan 20, 2010 8:25 pm

Re: PHP AUTOUPDATE

Post by Hieroglyphics »

If I understand what you want to do, SQL + Ajax :)
Post Reply