时间:2021-07-01 10:21:17 帮助过:23人阅读
分享到:
Array
(
[doctorDate] => Array
(
[0] => Array
(
[doctorOfDate] => 2013-10-02
[orderingCount] => 12
)
[1] => Array
(
[doctorOfDate] => 2013-10-03
[orderingCount] => 8
)
)
)
test=array('doctorDate'=>
array(0=>array('doctorDate'=>'2013-10-02',
'orderingCount'=>12),
1=>array('doctorDate'=>'2013-10-03',
'orderingCount'=>8)
)
)
$test=array('doctorDate'=>
array(0=>array('doctorDate'=>'2013-10-02',
'orderingCount'=>12),
1=>array('doctorDate'=>'2013-10-03',
'orderingCount'=>8)
)
);
foreach ($test as $arr)
{
foreach ($arr as $value)
{
echo $value['doctorDate'].' '.$value['orderingCount'].'
';
}
}
?>