I like this idea.
I have added it to my test game to see the errors are.
I get this message after crediting user :
Warning: mysql_query() expects at most 2 parameters, 4 given in xampp\htdocs\Test\staff_users.php on line 356
Here's the part giving the error :
$do = mysql_query("UPDATE users SET money = money + '%u', crystals = crystals + '%u' WHERE userid = '%u' ",
($_POST['money']),
($_POST['crystals']),
($_POST['user']));
I think the error is in the Update Users bit it does not seem right.
Can someone explain what this means, I have not seen this message before.