代码如下:
$tgzz=Tgzz::where(input('ssx'),'like','%'.input('ssz').'%')->where('status',1)->select();
echo json_encode($tgzz);
显示错误:Allowed memory size of 134217728 bytes exhausted (tried to allocate 5511760 bytes)
我查了抛错的行是echo json_encode($tgzz);
AJAX请求,需要echo json (用的bootstrap_table)
最佳答案