Re: [PHP] Form element names as array

2002-03-04 Thread Matt
> with checkboxes, the value of the checkbox is sent to the serveronly if it's > checked - if it's not chesked, then it's value does go to the server And, because of that, checkBox[0] is the first box *checked*, not the first in the html. -- PHP General Mailing List (http://www.php.net/) To un

RE: [PHP] Form element names as array

2002-03-04 Thread Kevin Stone
Chris Boget'; PHP General Subject: RE: [PHP] Form element names as array with checkboxes, the value of the checkbox is sent to the serveronly if it's checked - if it's not chesked, then it's value does go to the server HTH Martin -Original Message- From: Chris Boget [m

RE: [PHP] Form element names as array

2002-03-04 Thread Martin Towell
General Subject: [PHP] Form element names as array I know you can set up some form elements as array names so that when the form is submitted, you can access the values of those form elements, you can iterate through the array. So you can set up a bunch of form elements with the name form_elements[]

[PHP] Form element names as array

2002-03-04 Thread Chris Boget
I know you can set up some form elements as array names so that when the form is submitted, you can access the values of those form elements, you can iterate through the array. So you can set up a bunch of form elements with the name form_elements[] and then when the form is submitted, you can