I am relatively new to programming with PHP.
I have created a simple Javascript game and I have managed to insert the player’s current score into the database. I have two fields, current score and highest score for the player. How do I check if the player’s current score is higher than his highest score and update the highest score?
An update statement setting the current score and possibly updating the highest score per user:
Substitute
?for the score.