Ver Mensaje Individual
  #6 (permalink)  
Antiguo 16/07/2007, 12:58
karl17
 
Fecha de Ingreso: julio-2005
Mensajes: 5
Antigüedad: 18 años, 9 meses
Puntos: 0
Re: Porque no funciona? (Muy sencillo)

Solo tienes que imprimir el array dentro del while.

<?php
$valor_uno =2;
$indice_uno = 0;
while ($valor_uno <11)
{$array_uno = array($indice_uno => $valor_uno);
$valor_uno = $valor_uno + 2;
$indice_uno = $indice_uno + 1;
print_r ($array_uno);

}
?>