Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/09/2013, 07:42
juniorhernandezg
 
Fecha de Ingreso: enero-2012
Mensajes: 109
Antigüedad: 12 años, 3 meses
Puntos: 0
Respuesta: For de un array

El array viene de este codigo:
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[0], $tabla[0]);
                        }
                        
$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);
                        
                    } 


Necesito que hacer un for justamente donde dice CATEGORIES:

Con esto hago el for pero nose como colocarlo que lo haga justamente en categories.

Código PHP:
for ($t=0;$t<count($data_arrays);$t++){

                    echo 
$data_arrays[$t];

                    }