Why is that? So is there any other way how I coud create a highscore and update the points of every user who answered correctly? I can't update by one if there are for example 100 users who answered correctly and 100 who didn't.
Why is that? So is there any other way how I coud create a highscore and update the points of every user who answered correctly? I can't update by one if there are for example 100 users who answered correctly and 100 who didn't.
How can I update columns of some registered users (for example all users who's favorite color is blue get 10 points) in the database? In SQL I would use an UPDATE statement (UPDATE users SET user_points = 10 WHERE favorite_color = blue)