![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
13/05/2009, 18:28
|
![Avatar de GatorV](http://static.forosdelweb.com/customavatars/avatar138775_9.gif) | $this->role('moderador'); | | Fecha de Ingreso: mayo-2006 Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses Puntos: 2135 | |
Respuesta: ayuda con valores de un arreglo Pues puedes hacer algo así:
Código php:
Ver originalforeach( $array as $arr ) { if (!in_array($arr['edad'], $resultados) { $resultados[] = $arr['edad']; } }
Saludos. |