Answers for "mysql increment variable on update"

SQL
2

mysql increment value by 1 in update

mysql_query("
    UPDATE member_profile 
    SET points = points + 1
    WHERE user_id = '".$userid."'
");
Posted by: Guest on May-03-2021

Code answers related to "mysql increment variable on update"

Code answers related to "SQL"

Browse Popular Code Answers by Language