thinkphp,where,查询二维数组

public function indexkehu(){
    $db = D("Fangjian");
    $user = $db->where("station='1'")->getField('user',true);//查出满房的房间的客户
    
    $tiaojian = implode(',',$user);
    $db = D("Kehu");
    $map['ids']=array('in',$tiaojian);
    $result = $db->where($map)->select();
    $this->assign("user",$result);
    $this->show();
}
原文地址:https://www.cnblogs.com/niushuangmeng/p/8649204.html