阅读背景:

将MySQL链接传递给类方法

来源:互联网 

Here is my problem, i have a class with a ave method, i want to pass a Mysql DB link to it, so i create a new object from the class, and call the saveProperty method, and in my main file i created a MySQL connection and saved the link in a var called $db so when i call the method it's link this: saveProperty($db).Here is my problem, i have a class with a ave m




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

分享到: