class formhelper{ var $form; function __construct($name, $id, $action, $method, $extra) { $container = "
\n"; $this->form .= $container; } function endform(){ $this->form .= "
"; } function input($name, $id, $type, $value) { //if(!$this->formstart) $this->startform $output = $output . "\n"; $this->form .= $output; } function form_textarea($name, $id, $style, $class, $cols, $rows, $text, $readonly, $endinghtml) { $textarea = "$endinghtml"; $this->form .= $textarea; } function form_select($name, $id, $style, $class, $optionarray, $endinghtml) { $select = ""; $this->form .= $select; } function make(){ return $this->form; } }