问题描述
我在 PHP 中使用了学说。每次如果尝试为选择请求检索数据库中的信息。请求将不会被执行并产生浏览器错误
带有源代码
public function getListeOfFiliere(){
if($this->db == null) return ;
return $this->db->getRepository("Filiere")->findAll();
}
和数据库配置:
$orm = array('dbname' => 'dbname','user' => 'user','port' =>'port','password' => 'password','host' => 'localhost','driver' => 'pdo_MysqL');
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)