print_r($myArr);
我的当前数组看起来像
Array
(
[0] => Array
(
[0] => Array
(
[P_Name] => a
[P_Id] => 1
)
[1] => Array
(
[P_Name] => b
[P_Id] => 2
)
)
)
Array
(
)
Array
(
)
我需要删除要移除的空数组,它应该看起来像
Array
(
[0] => Array
(
[0] => Array
(
[P_Name] => a
[P_Id] => 1
)
[1] => Array
(
[P_Name] => b
[P_Id] => 2
)
)
)