ID:               21441
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Arrays related
 Operating System: RH 8.0 Apache 2.0
 PHP Version:      4.2.2
 New Comment:

Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


Previous Comments:
------------------------------------------------------------------------

[2003-01-05 14:49:13] [EMAIL PROTECTED]

Here some_arr[] has two values, but after POST-ing the resulting array
seems like it is repeating itself.

Example:
<!-- input -->
<form method="post">
<input type="checkbox" name="some_arr[]" value="aa" CHECKED>
<input type="checkbox" name="some_arr[]" value="bb" CHECKED>
<input type="submit">
</form>

<!-- result after post -->
var_dump($some_arr):
array(3) {
  [0]=>
  string(2) "aa"
  [1]=>
  string(15) "bbsome_arr[]=aa"
  [2]=>
  string(2) "bb"
}

When I replace the POST wit GET it works fine.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21441&edit=1

Reply via email to