如何删除NULL
具有索引的数组中的值并将索引重新分配给其他值?
Array
(
[1] => 115,2010-02-17,19:30
[3] => 400,2006-03-01,22:00
[4] => 474,2006-04-10,02:30
[5] => 7547,2006-08-02,23:16
)
但我需要的是:
Array
(
[1] => 115,2010-02-17,19:30
[2] => 400,2006-03-01,22:00
[3] => 474,2006-04-10,02:30
[4] => 7547,2006-08-02,23:16
)