未定义数组索引: id

浏览:717 发布日期:2020/04/10 分类:ThinkPHP5专区
$staff_arr=model('staff')->where('status',0)->select();
$times=model('Timescount')->whereNotIn('realnameid',$staff_arr['id'])->select();
这个错误实在不知道怎么改正,求大神帮帮我$staff_arr用var_dump可以看到查询出来的值
但是第二句查询就不行了
最佳答案
评论( 相关
后面还有条评论,点击查看>>