php,多维数组
php教程-php手册
$a=array('fruits'=>array('a'=>'orange','b'=>'grape',c=>'apple'), 'numbers'=>array(1,2,3,4,5,6), 'holes'=>array('first',5=>'second','third') );//第一种:foreach($a as $list=>$things){ if(is_array($things)){ foreach($things as $newlist=>$counter){ echo "key:".$newlist."
"."value:".$counter."
"; }}}//第二种:function MulitarraytoSingle($array){ $temp=array(); if(is_array($array)){ foreach ($array as $key=>$value ) { if(is_array($value)){ MulitarraytoSingle($value); } else{ $temp[]=$value; } } }}
记账工具的源码,ubuntu安装qq音乐,床上很多小黑爬虫,php执行另一段php,seo权重池lzw