i have a multi dimensional array with data structure like below,how to iterate to get the desired out put
Array
(
[P1-VVS2-VVS2] => Array
(
[S] => Array
(
[1] => Array
(
[key] => P1-VVS2-VVS2
[saw] => S
[row_num] => 1
[assign] => 0
[total_dollar] => 1490140.75
[stone_weight] => 24.5
[dollar] => 4963.00
)
)
[C] => Array
(
[1] => Array
(
[key] => P1-VVS2-VVS2
[saw] => C
[row_num] => 1
[assign] => 0
[total_dollar] => 6080976
[stone_weight] => 44
[dollar] => 6282.00
)
)
)
)
the desired out put like, how can be use the for each loop or any other to display the desired result data
P1-VVS2-VVS2
S
1
0
1490140.75
24.5
4963.00
P1-VVS2-VVS2
C
1
0
6080976
44
6282.00