|
-
Dec 27th, 2010, 06:11 PM
#1
Thread Starter
Fanatic Member
everytime a submit button is pushed it will add a 1 to the mysql database?
Hi guys,
I am wondering if anybody can help me as i've been looking for hours now and cant find anything!
I basically have a site, where users can sign up and login. Now in the username table, i've added a bit on to each user called 'points'
which is automatically set at 0 -
now what i want is when the user is logged in, when the user clicks a submit button.
it will add a 1 to the points part ONLY for that user.
i.e it then turns to 1, if they press it again itll turn to 2 so on , so on.
How do i go about this?
Thanks,
Jamie,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|