Dave Smith - 2015-05-19 05:42:46
After reading the last, Lately in PHP Podcast, it was mentioned that it would be nice to have a class that could be dropped in for the sites that stop operating because the MySQL extension has gone away.
If the calls to MySQL are in a class, should be a simple matter of having another class, to extend the original class, which we use to overload with the correct calls to MySQLi.
What I don't know how to do is set up a hook or listener for calls to MySQL functions outside of a class that will capture the request and send it to the new class for the results.
Any ideas?
Dave