mysql increment value by 1 in update

Solutions on MaxInterview for mysql increment value by 1 in update by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "mysql increment value by 1 in update"
Niclas
10 Nov 2017
1mysql_query("
2    UPDATE member_profile 
3    SET points = points + 1
4    WHERE user_id = '".$userid."'
5");
6