![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
20/10/2009, 09:05
|
![Avatar de David](http://static.forosdelweb.com/customavatars/avatar98181_4.gif) | Moderador | | Fecha de Ingreso: abril-2005 Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años, 9 meses Puntos: 839 | |
Respuesta: quitar valores en blanco o nulos de un array Otra opción sería:
Código PHP:
Ver originalfunction is_empty($value) { } $foo = array('one', 'two', 'three', '', 'four', 'five', null);
|