RE: [PEAR] [Fwd: More issues with QF/QFC]

From: Date: Fri, 09 Jan 2004 09:53:20 +0000
Subject: RE: [PEAR] [Fwd: More issues with QF/QFC]
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10078@lists.php.net to get a copy of this message
Hi, > -----Original Message----- > From: Barry Steele [mailto:barry@hpfm.biz] > Sent: 09 January 2004 01:33 > > Hi again, > I rana quick test with the example QFC script (attached). Not got time to test the script but to get around the same problem (where I had an associative array $lists->searchList of options) I did: foreach($lists->searchList as $key => $value){ $this->addElement('checkbox', "familyhistory[_{$lists->conceptList[$key]}]", $value, null); } The $value is either 0 or 1 ... It's the name of the element that cannot start with a number - else array_merge() will convert the string to a number and re-index it. There's a few posts to this list from me about the problem in the archive somewhere. I much prefer a web-based Forum then we could all search easier :-) Regards, Mike C. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________

« previous php.pear.general (#10078) next »