title: Is model and view have direct relationship in codeigniter
body: <p>i have a view file view.php .Have following code.</p>
  
  <pre><code>&lt;form method="post"&gt;
          &lt;input type="text" name="profession_name" /&gt;
          &lt;input type="button" name="submit" value="Add Profession" onClick="add_profession" class="btn btn-success" /&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>and i have model file Model_model.php.Have following code.</p>
  
  <pre><code>&lt;?php 
  class Model_model  extends CI_Model{
      function __construct(){
      parent::__construct();  
  }
      function insert_data(){
          $data =  array(
              "profession_name" =&gt; $_POST['profession_name']
          );  
          $this-&gt;db-&gt;insert('table_name',$data);
      }   
  
  }?&gt;
  </code></pre>
  
  <p>Is it possible without using controller i directly access form value in model?</p>