php两个多维数组组合遍历


    $res = $this->LoanRecord->searchloan($conditions,$columns,$page,$this->num,$user_id);
    foreach ($res[1] as $key => $value) {
        if(!empty($value['b']['id'])){
            $result_day = $this->LoanRecord ->getLastDay($value['b']['id']);
            $res[1][$key]['m'] = $result_day['m'];
        }
    }

导出表格单独查询,在写入excel时单独查询遍历

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM