Skip to content
A php include that replaces all mysql functions with the corresponding mysqli functions
Branch: master
Clone or download
Latest commit 14dde8f Jun 8, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Create LICENSE Mar 2, 2019 Update Mar 2, 2019 version 3 Jun 8, 2019


A replacement for all mysql functions with mysqli equivalents.

Be aware, that this is just a workaround to fix-up some old code and the resulting project will be more vulnerable than if you use the recommended newer mysqli-functions instead. So only If you are sure that this is not setting your server at risk, you can fix your old code by adding this line at the beginning of your old code:


Download and include the file in the top of your PHP script:




If you have any questions open an issue here or enhancements as Pull Request

You can’t perform that action at this time.