How to run deprecated php codes on the latest XAMPP [duplicate]

You can change the error reporting to stop reporting on deprecation warnings. See here.

However you should very seriously considering updating the code to use a non-deprecated extension such as MySQLi or PDO_MySQL.

Edit:
Also the image you supplied suggests that you have not supplied the parameters for connecting to the database.

Browse More Popular Posts

Leave a Comment