id = $id; $this->value = $value; $this->selected = $selected; $this->multiple = False; } function setMultiple($multiple) { $this->multiple = $multiple; } function getHtml() { $html = ""; if($this->multiple) $html .= "id\" name=\"$this->id\" class=\"combobox\">\n"; for($i = 0; $i < count($this->value); $i++) { if($this->selected == $this->value[$i][0]) $html .= "\n"; else $html .= "\n"; } $html .= "\n"; return $html; } } ?>