View Single Post
  #1  
Old 08-19-2011, 09:25 PM
Tony's Avatar
Tony Tony is offline
I program.
 
Join Date: Jan 2011
Posts: 75
Gender: Male
Credits: 10,934
Tony is on a distinguished road
Default

Yeah add a mysql update on click.

I'd suggest usng ajax and doing something similar to...

UPDATE (users table?) SET (user_rank?) = (rank you want) WHERE (user_id?) = (user_id);

not sure of the fields, haven't touched the script for a long while ,I'm sure a post after mine will help your further.

Last edited by Tony; 08-19-2011 at 09:28 PM.
Reply With Quote