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