QF: set values for select in another file
| From: | morten@therkildsen.dk | Date: | Sun, 26 Oct 2003 22:13:03 +0000 |
| Subject: | QF: set values for select in another file | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8596@lists.php.net to get a copy of this message | ||
Hi
Im using a config-file, for setting up values to an QucikForm.
I have problems setting the values for an select-box.
config.php:
=======
$cfg->Niveau['labelText'] ="Text to show for the user";
$cfg->Niveau['selectText'] = ""; //what to write here???
QuickForm.php:
=========
$form->addElement('select', 'linuxniveau',
$cfg->Niveau['labelText'],
$cfg->Niveau['selectText']);
Thank your very much....
Morten Therkildsen