> or even try
> <input type="text" name="name[]">
> <input type="text" name="name[]">
> 
> This should AFAIK result in an Array, but I'm not sure if 
> empty fields are put in.

You will get the empty fields except for checkboxes.  For checkboxes only the checked 
elements come through so you need values that determine which box was checked. So say 
you have:
<input type="checkbox" name="box[]" value="box_1"  >
<input type="checkbox" name="box[]" value="box_2"  checked>
<input type="checkbox" name="box[]" value="box_3"  checked>

$box[0] == "box_2"
$box[1] == "box_3"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to