How to Upgrade Old MySQL functions to work with PHP 7

php-mysql-logo-largeIn case you haven’t heard. Starting in PHP 5.5.x, all MySQL functions are being deprecated.

If you’re like a bunch of developers, you’re probably dreading the fact that you have to go through all your old projects to rework your MySQL functions using MySQLi or PDO_MySQL.

Ugh!

Good news, though! SourceForge user gimigliano has got your back!

Go download this script:
https://sourceforge.net/projects/mysqlwithmysqli/

Include this PHP script in the top of any scripts that use any MySQL functions and you’re done. You can now upgrade your PHP with no worries!

Hope this has been helpful!

Leave a Reply

Your email address will not be published. Required fields are marked *