Re: [jp]-Arreglos desde formularios
| From: | Claudio Bustos | Date: | Tue, 14 Dec 2004 16:57:14 +0000 |
| Subject: | Re: [jp]-Arreglos desde formularios | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-52677@lists.php.net to get a copy of this message | ||
At 12:56 14-12-2004, Javier Aquino H. wrote:
>Los Checks son tomados como arrays si tienen el mismo nombre ;-)
Ocupa
<input type='checkbox' name='var[]'>
Los resultados se irán acumulando en el array $var. Es mejor si a cada
check le pones un valor, como
name='var[1]'
>Slds,
>
>Javier.
>
>----- Original Message -----
>From: "JP(Y!)" <jpaiva_peru@yahoo.es>
>To: <php-es@lists.php.net>
>Sent: Tuesday, December 14, 2004 10:39 AM
>Subject: [PHP-ES] [jp]-Arreglos desde formularios
>
>
> > Amigos ..
> >
> > tengo varios check's
> > con el mismo nombre (listado desde una tabla)
> >
> > al recibirlos con un $_POST
> >
> > solo me imprime el ultimo valor tomado
> >
> > hay alguna concideracion para trabajar
> > las cajas o check's q tengan el mismo nombre desde html ???
> > al recogerlos desde php???
> >
> > muchas gracias por sus comentarios
> >
> >
> > Salu2
> > J.Paiva
> >
> > --
> > PHP Spanish Localization Talk Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>--
>PHP Spanish Localization Talk Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.797 / Virus Database: 541 - Release Date: 15-11-2004
Claudio Bustos
Psicólogo
clbustos@surnet.cl