0
我有一個miltidimentional陣列像這樣:PHP:插入多陣列鑰匙插入子陣列關鍵
Array ([11] => Array ([0] => 5)
[12] => Array ([0] => 7)
[14] => Array ([0] => 9 [1] => 10 [2] => 11 [3] => 25)
)
,並想將它轉化這樣的:
Array ([0] => Array ([11] => 5)
[1] => Array ([12] => 7)
[2] => Array ([14] => 9)
[3] => Array ([14] => 10)
[4] => Array ([14] => 11)
[5] => Array ([14] => 25)
)
你有什麼想法如何可以做到?
[你嘗試過什麼?](http://www.whathaveyoutried.com/)參見[問諮詢】(http://stackoverflow.com/questions/ask-advice),請。 – 2013-03-17 20:40:25