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...
Keep trying to get this to work, but getting this error: Fatal error: Uncaught Error: Call to undefined function mysql_connect()
Maybe you used phps.zip (this is for PHP 5) that is deprecated if your server is using PHP 7. For PHP 7 try the php7.zip files
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
Edit the login.php with your DB_Username, db_pwd, etc