Posts by Jonas • 1 point
1 post
-
0
votes10
answers29077
viewsA: Scroll through an Array and check if any element is empty
$posicoesVazias = array_keys($array, '', TRUE); if(empty($posicoesVazias)){ // Sem itens vazios }else{ echo "Os itens " . implode(', ', $posicoesVazias) . "…