使用execute 報錯
這是我的代碼
$data=$Model->execute('update tese1 set name="黃瓜" where id=16');
dump ($data);
報錯:
Call to a member function execute() on a non-object
query函數(shù)是可以調(diào)用的?
這是我的代碼
$data=$Model->execute('update tese1 set name="黃瓜" where id=16');
dump ($data);
報錯:
Call to a member function execute() on a non-object
query函數(shù)是可以調(diào)用的?
2017-03-24
舉報
2017-03-25
錯誤信息為:調(diào)用一個非對象的成員函數(shù)execute(),你再看看你的代碼,光看你說的具體哪錯了也說不清。