Ver Mensaje Individual
  #4 (permalink)  
Antiguo 29/06/2015, 22:26
Avatar de NSD
NSD
Colaborador
 
Fecha de Ingreso: mayo-2012
Ubicación: Somewhere
Mensajes: 1.332
Antigüedad: 12 años
Puntos: 320
Respuesta: Como comprobar si hay elementos vacios en un array php

Código PHP:
Ver original
  1. <?php
  2.  
  3. //...
  4. if(count(array_filter($array)) !== count($array))
  5.    // Alguno falta
  6. //...
__________________
Maratón de desafíos PHP Junio - Agosto 2015 en FDW | Reglamento - Desafios