Re: variables en form
| From: | Luis E . Cruz Campos | Date: | Fri, 12 Oct 2001 16:17:20 +0000 |
| Subject: | Re: variables en form | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-14809@lists.php.net to get a copy of this message | ||
El Friday 12 October 2001 10:38, escribiste:
> Quisiera saber como hago en un form
> para que los datos me salgan cuando
> vaya al php en un array.
>
> Ej.
>
> linea 1 ) <input type="text" name="variable" size="3"
> value="1">
> linea 2) <input type="text" name="variable" size="3"
> value="1">
>
> Como hago para que variable sea una
> array con estos valores.
>
> Juba
>
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
<input type="text" name="variable[]" size="3"
value="1">
<input type="text" name="variable[]" size="3"
value="1">
o
<input type="text" name="variable[1]" size="3"
value="1">
<input type="text" name="variable[2]" size="3"
value="1">
Saludos,
--
Luis E. Cruz Campos (mailto:lcruz@inter-media.cl)
Depto. de Ingeniería
Inter-Media S.A.