MySQL Forums
Forum List  »  PHP

Mysqli troubles
Posted by: Wim Roffel
Date: June 21, 2016 11:04AM

I maintain a PHP library that is used by a few thousand people. In the past it used the mysql commands (mysql_connect, etc) but when these were discarded I switched to the mysqli variety as that was the least work and as a consequence gave the least risk of errors.

Now I am running into the problem that quite a few hosting providers don't install the mysqli module and then people come to me reporting a "Call to undefined function mysqli_connect()" error.

So I was wondering whether there is some way around this problem. Maybe some wrapper that I can include so that people don't need this module?

Options: ReplyQuote


Subject
Written By
Posted
Mysqli troubles
June 21, 2016 11:04AM
June 21, 2016 11:07AM
June 21, 2016 10:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.