Ver Mensaje Individual
  #9 (permalink)  
Antiguo 03/07/2007, 12:28
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Puedo Crear Un Array De Los Valores De Un Cuadro De Texto?

Entonces si lo tienes que grabar como un arreglo, es decir si tu input se llama:
Código PHP:
<input type="text" name="hores2" size=2 value="<?php echo $array[$i]; ?>">
Lo tienes que llamar asi:
Código PHP:
<input type="text" name="hores2[]" size=2 value="<?php echo $array[$i]; ?>">
Y en PHP ya solo lo rescatas sin hacer el array, directamente se transforma a un arreglo.

Saludos.