ID:          37276
 Comment by:  mjackson at datahost dot com
 Reported By: puovils at gmail dot com
 Status:      Open
 Bug Type:    *General Issues
 PHP Version: 5.1.3
 New Comment:

To add to puovils at gmail dot com's comments, you get the expected
results if the form is submitted via GET.


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

[2006-05-02 14:17:39] puovils at gmail dot com

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
                )

        )

)


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


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

Reply via email to