class htmlSelect {
var $name;
var $options;
var $values;
var $selected;
var $class;
function htmlSelect ( ) {
//
}
function output ( ) {
if ( count($this->$options) == 0 ) {
return 'htmlSelect Error : No options supplied for select element. ';
}
if ( count($this->$values) == 0 ) {
return 'htmlSelect Error : No options supplied for select element. ';
}
if ( count($this->$options) != count($values) ) {
return 'htmlSelect Error : Unequal number of options and values. ';
}
if ( empty($class) ) {
$output = '