我有一个这样的数组,我只需要从数组中过滤字符串键,但我不知道该怎么做,我是 php 新手,请帮助我。
Array
(
[0] => Array
(
[id] => 2
[0] => 2
[status] => 0
[1] => 0
[user] => 86
[2] => 86
[project] => 0
[3] => 0
[task] => 36
[4] => 36
[day] => 06/30/2013
[5] => 06/30/2013
)
)
我想像下面这样制作这个数组
Array
(
[0] => Array
(
[id] => 2
[status] => 0
[user] => 86
[project] => 0
[task] => 36
[day] => 06/30/2013
)
)
谁能告诉我该怎么做?