我有一个像这样的多维关联数组: -
for($k=0; $k<count; $k++)
$assoc[$k] = array(
$key[$j] => array(
'CreationOrModification'=>$value1[$j],
'CrOrModDate'=>$value2[$j],
'Amount'=>$value3[$j],
//......
)
);
$ assoc数组是这样的: -
10111 -> Creation, Creation Date, Amount and so on...
10121 -> Modification, Modification Date, Amount and so on..
10111 -> Modification, Modification Date, Amount and so on..
10232 -> Creation, Creation Date, Amount and so on...
10121 -> Creation, Creation Date, Amount and so on...
10111 -> Modification, Modification Date, Amount and so on..
10232 -> Modification and so on and so forth.
问题是我需要一个特定的键,首先创建并且在同一个关联主数组中再次出现的那个键,所有的修改值也对应于相同的键值。我需要显示这个数组终于如此了。任何帮助将不胜感激。 ?