title: ErrorException [Notice]:Array to string conversion PHP Form
body: <p>I am creating a very simple form to collect data from a user and store in a database, but i am getting an error:</p>
  
  <blockquote>
    <p><strong>ErrorException [Notice]: Array to string conversion</strong>
    SYSPATH\classes\kohana\html.php</p>
  </blockquote>
  
  <p>I have used this code before in another one of my forms and i have never had any problems, maybe i am missing something?</p>
  
  <pre><code>&lt;div id="formWrapper"&gt;
   &lt;?php
  {
           echo form::open('', array('id'=&gt;'newprefecture'));
  
           echo form::label('NewPrefecture', 'prefecture:');
           echo form::input('form[NewPrefecture]', array('class'=&gt;'input', 'id'=&gt;'NewPrefecture'));
  
           echo form::submit('btnSubmit', 'Submit', array('id'=&gt;'btnSubmit', 'class'=&gt;'button'));
           echo form::close();
  }
           ?&gt;
           &lt;/div&gt;
  
  
  public function action_newprefecture(){
            $this-&gt;template-&gt;content = View::factory('admin/main-menu');
            $this-&gt;template-&gt;content-&gt;val = '';
      $this-&gt;template-&gt;content-&gt;post = '';
  
      if ($this-&gt;request-&gt;post('form')) {
                                      $post = $this-&gt;request-&gt;post('form');
      $stmt = DB::query(Database::INSERT, 'INSERT INTO `prefectures` (`prefecture`)
                                                            VALUES (:NewPrefecture)'); 
            $stmt-&gt;param(':NewPrefecture', $post['NewPrefecture']);
            try {
                                                  $stmt-&gt;execute();
                                                  $this-&gt;template-&gt;content-&gt;post = $post;
                                                  $this-&gt;template-&gt;content-&gt;thanks = true;
                                                  } catch (Exception $e) {
                                                      FB::error($e);
                                                  }
  
                      }
                  }        
  </code></pre>