Re: form question
| From: | Martin A. Marques | Date: | Wed, 19 Jul 2000 14:33:06 +0000 |
| Subject: | Re: form question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7275@lists.php.net to get a copy of this message | ||
On Wed, 19 Jul 2000, Cesare D'Amico wrote:
> > > > Actually my "test" form looks like this:
> > > >
> > > > <form action="prueba-resultado.php" method="post">
> > > > <input type="checkbox" checked name=ar_pru[]><BR>
> > > > <input type="checkbox" checked name=ar_pru[]><BR>
> > > > <input type="checkbox" checked name=ar_pru[]><BR>
> > > > <input type="submit" value="Go!">
> > > > </form>
> Try something like this:
> <input type="checkbox" checked name="ar_pru[0]"><BR>
> <input type="checkbox" checked name="ar_pru[1]"><BR>
> <input type="checkbox" checked name="ar_pru[2]"><BR>
> Note the quotes (is that the correct name for " in english? =)
> surrounding the variable's names...
I just tried that before checking my mail again!!! It worked!!
Thanks for the patience!!!
P.D.: The form with checkboxes without values work OK. It defaults the value
to on, just like the html4 manual says. :-)
Thanks!
--
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------