i want to update score with sql update but not working

20 views
Skip to first unread message

Lucas Dinhof

unread,
Apr 21, 2016, 10:44:44 AM4/21/16
to AJAX-chat
$sql = "UPDATE $users SET score=score+1 WHERE id='.$this->getUserName().'";
the row score exists what did i do wrong?
Reply all
Reply to author
Forward
0 new messages