本文介绍了我如何在php中打印多维数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Array
(
[0] => Array
(
[0] => HUBZone Small Business
[1] => Small Disadvantaged Business
[2] => Service-Disabled Veteran Small Businesses
)
)
推荐答案
$array ;
foreach($array as $key => $value){
foreach($value as $k => $val){
echo $val . "<br> ;
}
}
输出:
HUBZone Small Business
Small Disadvantaged Business
Service-Disabled Veteran Small Businesses
这篇关于我如何在php中打印多维数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!