阅读背景:

PHP OO数据库无法获取mysqli。

来源:互联网 

I recently ran into a problem with a database class I have been using where my class is having some trouble getting mysqli. There are a few classes at play here so bear with me. There is one class called Manager that connects to the DB and sets it up, it then instantiates a new class called Business and passes in the DB, Then later in code execution one of Manager methods runs that asks Business to save some data to the DB and this is where the problem is. The database class is below, sensitive info redacted:I recently ran into a problem with a database c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: