Re: QuickForm Won't display

From: Date: Fri, 14 Jun 2002 15:29:44 +0000
Subject: Re: QuickForm Won't display
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1662@lists.php.net to get a copy of this message
the HTML_QuickForm example script works fine on my machine, however, this does not: require_once ("HTML/QuickForm.php"); $userForm = new HTML_QuickForm('users0', 'GET'); $userForm->addHeader('Current Association Users'); $userForm->addElement('hidden', 'a', 'users'); $userForm->addElement('hidden', 'sub', 'edit_user'); $userForm->addElement('select', 'user_id', 'User', array('A'=>'A', 'B'=>'B','C'=>'C','D'=>'D')); $buttons[] = &HTML_QuickForm::createElement('submit', null, 'Submit'); $buttons[] = &HTML_QuickForm::createElement('reset', null, 'Reset'); $userForm->addElementGroup($buttons); $userForm->display(); I do not understand it. Also, will $userForm->toHTML(); create a variable or output text that i can use in the HTML_Table addRow() method? Thanks David

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