1
如何將'fields'數組的所有節點移動到其父數組'113',同時取消設置'fields'?php將節點移動到父數組
[a] => Array
(
[113] => Array
(
[title] => asdfasdfas
[alias] => asdfasdfas
[fields] => Array
(
[jr_streetaddress] => Array
(
[type] => text
[label] => Street Address
[data] => asdfasdffsd
)
[jr_towncity] => Array
(
[type] => text
[label] => Town/City
[data] => Nottingham
)
)
)
)
什麼是這個數組的「根」?你有幾個這樣的子陣列還是你只想爲這個特定的陣列做這個? – 2010-09-12 08:02:14