Re: array + checkbox
| From: | Tijmen Hennink | Date: | Mon, 06 Aug 2001 09:08:50 +0000 |
| Subject: | Re: array + checkbox | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61390@lists.php.net to get a copy of this message | ||
Some extra debuginfo.
When I'm submitting a page where the checkbox is not set in the beginning
and in same page an checkbox that is initially set to checked I can see that
the first is not set and the second is set.
But this is the strange part, if I changed the 2 checkboxes I still get the
same output.
----- Original Message -----
From: "Tijmen Hennink" <tijmen@mediaconnect.nl>
To: "Jason Murray" <Jason.Murray@melbourneit.com.au>;
<php-general@lists.php.net>
Sent: Monday, August 06, 2001 10:40 AM
Subject: Re: [PHP] array + checkbox
> Sorry,
>
> I've copied some old code.
> It was already <INPUT TYPE=checkbox name="voorraad[]">
>
> ----- Original Message -----
> From: "Jason Murray" <Jason.Murray@melbourneit.com.au>
> To: "'Tijmen Hennink'" <tijmen@mediaconnect.nl>;
<php-general@lists.php.net>
> Sent: Monday, August 06, 2001 10:37 AM
> Subject: RE: [PHP] array + checkbox
>
>
> > > I've the following weird problem.
> > > I have a form which contains an array with values of some checkboxes.
> > > This is the HTML-part:
> > > <INPUT TYPE=checkbox name=voorraad checked>
> > > if checked or
> > > <INPUT TYPE=checkbox name=voorraad>
> >
> > Try <INPUT TYPE=checkbox name="voorraad[]"> maybe...?
> >
> > Jason
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>