qf hierselect

From: Date: Mon, 05 Jul 2004 16:38:20 +0000
Subject: qf hierselect
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13493@lists.php.net to get a copy of this message
Hi! I am trying to use an (oldstyle) hierselect: $sel =& $this->addElement('hierselect','fieldname', 'Discription','','between the fields', array('id' => 'fieldname')); //id just for me $sel->setMainOptions($array1); $sel->setSecOptions($array2); The arrays should be correct. Just like everything else - because I am doing the exact same thing successfully in another place. However here I always get an array with 0=>'firstvalue' lacking the second field when I do $page->exportValue('fieldname'). Can someone tell me what i could do to find the problem or even better -> what the problem might be? Thanks Daniel

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