<?php
/****
****/
function digui($arr)
{
foreach($arr as $key => $value)
{
if(is_array($value))
{
digui($value);
}else
{
echo $value." , ";
}
}
}
$arr2=array(
array(
'id'=>1,
'name'=>'chengjunhua',
'age'=>26
),
array(
'id'=>1,
'name'=>'chengjunhua2',
'age'=>263,
'arr'=>array(
'id'=>1,
'name'=>'chengjunhua5',
'age'=>265
),
),
);
digui($arr2);
?>