$form = array(); $form['attributes']['action'] = '', $form['attributes']['method'] = 'get', $form['attributes']['encrypt'] = 'application/x-www-form-urlencoded', $form['attributes']['accept'] = '', $form['attributes']['name'] = '', $form['attributes']['onsubmit'] = '', $form['attributes']['onreset'] = '', $form['attributes']['accept-charset'] = '', $form['attributes'][''] = '', $form['attributes'][''] = '', # text|password|checkbox|radio|submit|reset|file|hidden|image|button $formTypes['text'] = array('type'=>'','name'=>'','value'=>'','size'=>'','maxlength'=>'255','checked'=>'','src'=>''); $formTypes['button'] = array('type'=>'','name'=>'','value'=>'','size'=>'','maxlength'=>'255','checked'=>'','src'=>''); $form['fields']['type'] = 'text'; $form['fields']['name'] = '';