Ver Mensaje Individual
  #12 (permalink)  
Antiguo 10/08/2011, 08:59
Avatar de eliza_ralves
eliza_ralves
 
Fecha de Ingreso: junio-2009
Ubicación: Caracas
Mensajes: 126
Antigüedad: 15 años, 5 meses
Puntos: 2
Respuesta: Optimizar el recorrido de un Arrays PHP

Aqui están los resultados vgonga1986:

CalcularP
Array (
[1] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 3 [Horas] => 112 )
[2] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 4 [Horas] => 200 )
[3] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 5 [Horas] => 160 )
[4] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 6 [Horas] => 160 )
[5] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 7 [Horas] => 200 )
[6] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 8 [Horas] => 8 ) )

CalcularA
Array (
[1] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 1 [Horas] => 344 )
[2] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 3 [Horas] => 32 )
[3] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 8 [Horas] => 152 )
[4] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 9 [Horas] => 160 )
[5] => Array ( [Ano_Semana] => 2020 [Mes_Semana] => 10 [Horas] => 200 ) )

Encabezado
Array (
[1] => Array ( [0] => 01 [1] => 2020 )
[2] => Array ( [0] => 2 [1] => 2020 )
[3] => Array ( [0] => 3 [1] => 2020 )
[4] => Array ( [0] => 4 [1] => 2020 )
[5] => Array ( [0] => 5 [1] => 2020 )
[6] => Array ( [0] => 6 [1] => 2020 )
[7] => Array ( [0] => 7 [1] => 2020 )
[8] => Array ( [0] => 8 [1] => 2020 )
[9] => Array ( [0] => 9 [1] => 2020 )
[10] => Array ( [0] => 10 [1] => 2020 )
[11] => Array ( [0] => 11 [1] => 2020 )
[12] => Array ( [0] => 12 [1] => 2020 ) )
__________________
“El mayor enemigo del conocimiento no es la ignorancia, sino la ilusión del conocimiento”— Stephen Hawking