i get this error after i pick the winner, and click the link to reward the user:
PHP Code:
Database error in vBulletin Control Panel 2.3.0:
Invalid SQL: UPDATE user SET storep=storep+ WHERE userid='5'
mysql error: You have an error in your SQL syntax near 'WHERE userid='5'' at line 1
mysql error number: 1064
this is where the error occured (Line 720)
PHP Code:
$rewarduser = $DB_site->query("UPDATE user SET storep=storep+$kutje WHERE userid='$userid'");