|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-21 03:34 UTC] moriyoshi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 15:00:02 2025 UTC |
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.