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." | ";
} ?>
http://www.bkjia.com/PHPjc/1071707.htmlwww.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=...