Array (
[0] => Array (
[0] => uploads/AP02A66_31_upload1_1357736699_SeamTrade.php
)
[1] => Array (
[0] => uploads/AP02A66_31_upload1_1357736699_SiteController.php
)
)
如何上述陣列轉換成一個索引數組,使得它會在等形式,陣列轉換
Array (
[0] => uploads/AP02A66_31_upload1_1357736699_SeamTrade.php
[1] => uploads/AP02A66_31_upload1_1357736699_SiteController.php
)
只是'foreach'給出數組並將它的元素追加到空數組 –
遍歷數組並創建一個新數組,像你想要的那樣......究竟是什麼問題?此外,只有正確格式化代碼才能讓其他人有機會閱讀它。 –
您可以檢查這一項 http://stackoverflow.com/questions/9481980/remove-first-levels-of-identifier-in-array 這是因爲你的 – Nick