In this tutorial you will learn how to create your own Highscores for your games, using your own free server / database. Let's go! Here's an example of how the...
Thank you. The data is inserted into the email column correctly, but when the user enters the higher score, it duplicated the data. It does not update it with the new score? It does not check if the email is already in the database.
Hey!
You can edit savescores.php to "insert" only new emails+score and "update" if existing email with the new scores.
ANother option is save eveything but getscores.php only returns the Best Score for each unique player(email). Something like this (your file extension must be .php):
duquekarlgames.000webhostapp.com/getscores-unique.txt
Let me know if that helps!
if I put this I get a blank page, because thanks
I don't have in my db max score table I have only score