i have 1 array with more arrays inside, and im trying to remove one of those arrays if they have a null key or its empty. Im doing this on PHP.
What i have:
Array
(
[0] => Array
(
[emp] =>
[fun] => 1
[data] =>
[data_d] =>
[desc] =>
)
[1] => Array
(
[emp] => teste
[func] => 1
[data] => 2021-08-30
[data_d] => 2021-09-01
[desc] => testetetetete
)
[2] => Array
(
[emp] => ersfewqef
[func] => 2
[data] => 2021-08-26
[data_d] => 2021-08-28
[desc] => dvgdgvqevgqe
)
)
This means that the [0] will be removed because has one or more empty values. Is this possible? I have no clue on how to do this.