I want to create a leaderboard, and therefore users have to create an account (to automatically save their scores and send them to the leaderboard database). It is similar to the system used in Clash Royale, there is a leaderboard where you can see the users with the highest scores (trophies).
I know there are many tutorials on how to add a login/signin system or a leaderboard in C2 using a MySQL database and AJAX, but I have red them all and they are all obsolete. I think the problem is you need to use mysqli instead of mysql, and the code in the PHP is different.
I decided to follow the steps written in this tutorial to create the login system scirra.com/tutorials/525/si ... ase?page=2 and search the code for the new PHP in other tutorials (outside scirra toutorials) but none of them worked.
In this tutorial on how to create a leaderboard scirra.com/tutorials/4839/c ... e-4?page=2 the updated code for the getscores.php was posted in the comments and it works fine, but there is stil the updated savescores.php missing.
Could anybody kindly provide the missing codes or update the obsolete tutorials (most of them are many years old)? Not only for me, because there are many many people having the same problem. It is a very common problem.
Thank you for your help <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />