"lucy","age"=>26), array("id"=>3,"name"=>"lili","age"=>27),">
当前位置:Gxlcms > PHP教程 > php和html混写,遍历出二维关联数组_PHP教程

php和html混写,遍历出二维关联数组_PHP教程

时间:2021-07-01 10:21:17 帮助过:7人阅读

php和html混写,遍历出二维关联数组


2,"name"=>"lucy","age"=>26),
                   array("id"=>3,"name"=>"lili","age"=>27),
                   array("id"=>4,"name"=>"lisi","age"=>28),
                   );
 
?>



    


 
$row) { ?> 
    ".$col."";
            }
        }else{
            echo "";
        } ?>
    
编号 姓名 年龄
".$key.':'.$row."

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/1071707.htmlTechArticlephp和html混写,遍历出二维关联数组 ?php //下面是二维关联数组 $arr_3 = array(array(id=2,name=lucy,age=26), array(id=3,name=lili,age=27), array(id=4,name=lisi,age=...

人气教程排行