Creating your own Leaderboard / Highscores Easy and Free (PHP & MySQL) [UPDATED 2020]

You're viewing a single comment in a conversation. View all the comments
  • 1 Comments

  • Order by
  • Can you confirm the score is saved correctly in the database (phpMyAdmin)?

    getscores.php only returns the best 10 scores. If the new score is very low, it will not appear. Are you sure the new score is in the top 10?

    You can try to edit the getscores.php and remove the "LIMIT 10" part, so ALL scores will be shown.

    Another possibility. Some hostings have an option for fast loading "optimization". It works like this: the first time you open a URL like myweb.com/something, then they save ("screenshot" or "cache") the current path url and never update it again. So they will show the same cache URL for weeks/months and will not update the content. This could also be one of the reasons?