HTML_QuickForm loadDbResult into Select Field

From: Date: Wed, 15 May 2002 15:48:53 +0000
Subject: HTML_QuickForm loadDbResult into Select Field
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1377@lists.php.net to get a copy of this message
Hi! I´m new into classes! The HTML_QuickForm class is great. I´m searching for an example to load db results into a select field of the HTML_QuickForm. I found the function loadDbResult, but i don´t know how i use these function. How do i use this function in my form? The normal way looks like this: $form->addElement('select', 'iselTest', 'Test Select:', array('A'=>'A', 'B'=>'B','C'=>'C','D'=>'D')); This example is from the example :) THX Frank Thiel

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