|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-02 21:25 UTC] mjackson at datahost dot com
[2006-05-03 02:12 UTC] eric dot caron at gmail dot com
[2006-05-03 09:17 UTC] zc dot job at gmx dot net
[2006-05-03 10:14 UTC] kervala at jpopdb dot net
[2006-05-03 10:16 UTC] kervala at jpopdb dot net
[2006-05-03 10:30 UTC] judas dot iscariote at gmail dot com
[2006-05-03 10:34 UTC] daffy at evil dot lt
[2006-05-03 11:05 UTC] kervala at jpopdb dot net
[2006-05-03 11:48 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 15:00:02 2025 UTC |
Description: ------------ problems witch $_POST array Reproduce code: --------------- <?php echo "<pre>"; print_r($_POST); echo "</pre>"; ?> <html> <head> <title>test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <form method="post" action="" enctype="multipart/form-data"> <input type="text" name="masivasid[id_1]" value="Nzzz1"/><br/> <input type="text" name="masivasid[id_2]" value="Nzzz2"/><br/> <input type="submit"/> </form> </body> </html> Expected result: ---------------- Array ( [masivasid] => Array ( [id_1] => Nzzz1 [id_2] => Nzzz2 ) ) Actual result: -------------- Array ( [masivasid] => Array ( [id_1] => Nzzz1 [id_2] => Array ( [id_1] => Nzzz2 ) ) )