Here is the multidimension array, and I want to remove the empty array in it.
$exclude1=array(
array(
[0] => Last Updated: Thu Apr 21 17:03:23 2016 PST
)
Array
(
[0] =>
)
Array
(
[0]=>
)
Array
(
[0] => MODEL: MODEL_NC
)
)
I want to remove empty arrays. I have tried this:
$exclude1=array_filter(array_map('array_filter', $exclude1));
but it is not working.
use
array_filter
like this way: