Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/09/2013, 13:40
juniorhernandezg
 
Fecha de Ingreso: enero-2012
Mensajes: 109
Antigüedad: 12 años, 3 meses
Puntos: 0
Imprimir todos los array

Buenas,

Necesito que un script me imprima todos los array, tengo un codigo pero me imprime el ultimo valor del array.

Como puedo imprimir todos?

El codigo es:
Código PHP:
$data_arrays=array();
                    for (
$n=0;$n<count($array_aliass);$n++){
                        if (
$type_graphs == 'mon'){
                        
$query $this->get_query_multiple($array_aliass[$n], $tabla[$n]);
                        }
                        
$resultados $this->conexion->execute($query);
                        
$array_fechas $this->obtener_fechas($resultados);
                        
                        
$array_fecha_finals $this->obtener_fechas_final($array_fechas$type_graphs);
                        
$resultados $this->conexion->execute($query);
                        
$array_resultados $this->obtener_arreglo ($resultados$array_aliass[$n]);
                        
$data_arrays[$n] = $this->get_data($array_fecha_finals,$array_resultados,$etq,$unit);
                        
                    }        
                    for (
$t=0;$t<count($data_arrays);$t++){

                    echo 
$data_arrays[$t];

                    }