最新回答 / 慕九州6298288
1 如過是直接實(shí)例化smarty 那么 直接用 ?$對(duì)象= new smarty() ?$對(duì)象->assign() ?2 如果是使用類封裝引用了 smarty ?那么 在類內(nèi) ?用實(shí)例化得到對(duì)象 去訪問當(dāng)前這個(gè)類的方法 ---前提這個(gè)方法里面已經(jīng) 完成了上面一步驟
2017-11-27
最新回答 / 慕勒3571389
應(yīng)該是你的'testView.class.php'文件路徑不對(duì),所以到了那一步出錯(cuò)了程序沒辦法運(yùn)行下去就沒有結(jié)果
2017-09-10
最新回答 / 早安i
Warning: ?mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in D:\phpstudy_pro\WWW\MVC\framework\libs\db\mysql.class.php on line 12Warning: ?mysqli_error() expects exactly 1 parameter, 0 given in D:\phpstudy_p...
2017-08-21