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