Re: quickform exported group values differ from $_POST but shouldn't

From: Date: Fri, 30 Jan 2004 19:19:03 +0000
Subject: Re: quickform exported group values differ from $_POST but shouldn't
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25350@lists.php.net to get a copy of this message
Bertrand Mansion wrote:
<jeroen@terena.nl> wrote :
Hi, using: QF 3.2.1 PHP 4.3.4 Smarty Array renderer CVS
Any clues?
Probably related once again to array_merge() used in exportValues(). You should try without using numbers for your keys as they will be renumbered by array_merge() (stupid isn't it ?). For example change 1 to _1, then it will be considered a string and not be renumbered. I see. thanks!
A workaround might be to use our own array_merge() method in QuickForm to deal with this problem. If you feel like writing it, I am taker :) Errr, no thanks :-)
Jeroen

« previous php.pear.dev (#25350) next »