Array ([c_c_grades] & gt; Array ([0] & gt; Array ([2012] & gt; Array ([1] & gt; Array ([term_point] & gt; 3.5 [term_average] & gt; 88 [grades] & gt; Array ([0] & gt; Array php Array
Array
(
[C_c_grades] => Array
(
[0] => Array
(
[2012] => Array
(
[1] => Array
(
[Term_point] = & gt; 3.5
[Term_average] => 88
[Grades] => Array
(
[0] => Array
(
[Export c_grade_id] => 5
[Course] => Ashton
[Point] => 2
[Grade] => 1
)
)))) [1] => Array ([2012] => Array ([1] => Array ([term_point] => 3.5 [term_average] => 88 [grades] => Array ([0] => Array ([jwc_grade_id] => 6 [course] => [point] => 2 [grade] => 1 ))))) [2] => Array ([2012] => Array ([2] => Array ([term_point] => 3.5 [term_average] => 88 [grades] => Array ([0] => Array ([export c_grade_id] => 7 [course] => good [point] => 2 [grade] => 1 )))))
)
How to make it become
Array
(
[C_c_grades] => Array
(
[2012] => Array ([1] => Array ([term_point] => 3.5 [term_average] => 88 [grades] => Array ([0] => Array ([export c_grade_id] => 5 [course] => Ashton [point] => 2 [grade] => 1 )))) [2012] => Array ([1] => Array ([term_point] => 3.5 [term_average] => 88 [grades] => Array ([0] => Array ([export c_grade_id] => 6 [course] => is an electric fan and other [point] => 2 [grade] => 1 )))) [2012] => Array ([2] => Array ([term_point] => 3.5 [term_average] => 88 [grades] => Array ([0] => Array ([export c_grade_id] => 7 [course] => good [point] => 2 [grade] => 1 ))))
)
Is to make the third dimension disappear and reduce the first dimension.