PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm_Controller » Bug #771

Error storing $_POST array values

Details

Submitted2004-02-16 13:59 UTC
Frommax1 at tvattomaten dot se
StatusNo Feedback
PackageHTML_QuickForm_Controller
PHP Version4.3.4
OSwindows xp
Roadmaps(Not assigned)

Comments

[2004-02-16 13:59 UTC] max1 at tvattomaten dot se

Description:
------------
When storing values from post where the name of the input is for instance: name="formData[MyID][Name]" the controller class does not notice that it is an array with several depths.

This results in rather funny errors where for example:
"formData[1][Name]"
"formData[1][Text]"
will result in that text has the MyID of 2.

I've experienced this error when implementing tabsbed controls.

[2004-02-16 14:23 UTC] mansion at php dot net

Can you post a test case please ?