How do I loop through this array and remove any empty values:
[28] => Array
(
[Ivory] =>
[White] =>
)
[29] => Array
(
[Ivory] =>
[White] =>
)
[30] => Array
(
[Ivory] =>
[White] => 36
)
[31] => Array
(
[White] => 24
)
So say it'd remove 28, 29 and just Ivory from 30…
Thanks!
Best Answer
I see you already have a working solution, but just for fun, with array_map goodness: