html_textarea¶
Class to create an HTML textarea
« More »
html_select¶
Builder for HTML drop-down menus
Syntax:<pre>
// create instance. arguments are used to set attributes of select-tag
$select = new html_select(array('name' => 'fieldname'));
// add one option
$select->add('Switzerland', 'CH');
// add multiple options
$select->add(array('Switzerland','Germany'), array('CH','DE'));
// generate pulldown with selection 'Switzerland' and return html-code
// as second argument the same attributes available to instanciate can be used
print $select->show('CH');
</pre>
« More »