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...
So I did the thing you said in the above reply, but mine is still showing this error, even after I changed the website PHP version from 7.0 to 7.3.
Try with these PHP files: duquekarlgames.000webhostapp.com/2020_php7.zip
Replace the "login.php" data with your own DB_username, db_pwd, etc.
Let me know if this works
Can you copy here the error message?
Check that you are using "mysqli_connect()"
("sqli_" is OK - "sql_" is bad)
Warning: mysqli_connect(): (HY000/2002): Connection refused in /storage/ssd1/571/13150571/public_html/getscores.php on line 14
Fatal error: Uncaught Error: Call to undefined function mysql_query() in /storage/ssd1/571/13150571/public_html/getscores.php:18 Stack trace: #0 {main} thrown in /storage/ssd1/571/13150571/public_html/getscores.php on line 18