Home >Backend Development >PHP Tutorial > thinkphp如何会报错的呢

thinkphp如何会报错的呢

WBOY
WBOYOriginal
2016-06-13 12:33:39887browse

求救 thinkphp怎么会报错的呢
  class EditAction extends Action{
    public function edit(){
$goods=M('Goods');
        $id=$_GET['id'];
    $arr=$goods->where(id=$id)->find();
dump($arr);
  $this->display();
 }
}
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn