PHP arrays
Array
(
[Jwc_grades] = = Array
(
[0] = = Array
(
[+] = Array
(
[1] = = Array
(
[Term_point] = 3.5
[Term_average] = 88
[Grades] = = Array
(
[0] = = Array
(
[JWC_GRADE_ID] = 5
[Course] = Ashton
[Point] = 2
[Grade] = 1
)
))) [1] = Arra Y ([+] = Array ([1] = = Array ([Term_point] = 3.5 [term_average] = = [Grades] + = Array ( [0] = = Array ([jwc_ GRADE_ID] = 6 [Course] = electric fan, etc. [Point] + 2 [grade] = 1 ))) [2 ] = = Array ([+] = Array ([2] = = Array ([Term_point] = 3.5 [Term_average] = 88 [Grades] = = Array ([0] = = Array ([jwc_grade_id] =& Gt 7 [Course] = yes [point] = 2 [grade] + 1) ) ) ) )
)
How to make it into
Array
(
[Jwc_grades] = = Array
(
[+] = Array ([1] = = Array ([Term_point] = 3.5 [Term_average] = 88 [Grades] = = Array ([0] = > Array ([jwc_grade_id] => ; 5 [Course] = Ashton [Point] = 2 [grade] + 1) ))) [+] = Array ([1] = = Array ([Term_po int] = 3.5 [Term_average] = [grades] = = Array ([0] = = Array ( [JWC_GRADE_ID] = 6 [course] =&G T It's an electric fan. [Point] and 2 [grade ] = 1))) ) [+] = Array ([2] = = Array ([Term_point] = 3.5 [Term_average] = [Grades] + = Array ( [0] =&Gt Array ([jwc_grade_id] = 7 [Course] = good [Point] =&g T 2 [Grade] = 1) ) ) )
)
is to make it disappear in the third dimension and reduce one dimension.