我的數組是波紋管我如何在PHP打破陣列中的兩個陣列
Array
(
[1] => Array
(
[9] => 6
[11] => 6
[12] => 6
[13] => 6
[14] => 12
)
[2] => Array
(
[4] => 8
[8] => 8
[13] => 13
)
)
而且我想輸出象下面這樣,有人可以幫我怎麼做 我希望總是我在第2個部分斷裂陣列。
Array
(
[1] => Array
(
[1] => Array([9] => 6
[11] => 6
)
[2] => Array([12] => 6
[13] => 6
[14] => 12
)
)
[2] => Array
(
[1] => Array([4] => 8
[8] => 8
)
[2] => Array([13] => 13
)
)
)
先生,我真的很開心如此thanku這麼多 – shan
@shan:歡迎您:) –