title: error in $this->upload->do_upload(),
body: <p>I want to pass text input and 2 files form view->controller->model and when i run this code it's alway error with "You did not select a file to upload." </p>
  
  <p><strong>View</strong> - on this view i get input of text and two inputs of load files named "myFile" and "myDoc"</p>
  
  <pre><code>              &lt;form action="&lt;?=site_url('blog_maintain/save')?&gt;" method = "post" enctype="multipart/form-data"&gt;&lt;li class="field" style="display:inline"&gt;&lt;p&gt;&lt;i class = "icon-docs"&gt;&lt;/i&gt;&amp;nbsp;หัวข้อ : 
                &lt;input class="text input" type="text" placeholder="Topic Input" name = "topic" id ="topic" required="required"&gt;
                &lt;/p&gt;&lt;/li&gt;
                &lt;li class="field" style="display:inline"&gt;&lt;p&gt;&lt;i class = "icon-menu"&gt;&lt;/i&gt;&amp;nbsp;คำอธิบาย : 
                &lt;input class="text input" type="text" placeholder="Short Description" name = "desc" id = "desc" required="required"&gt;
                &lt;/p&gt;&lt;/li&gt;
                &lt;li class="field" style="display:inline"&gt;&lt;p&gt;&lt;i class = "icon-picture"&gt;&lt;/i&gt;&amp;nbsp;รูปภาพ :
                ******&lt;input type="file" name = "myFile" id = "myFile" required="required" accept="image/*"&gt;******
                &lt;/p&gt;&lt;/li&gt;
                &lt;li class="field" style="display:inline"&gt;&lt;p&gt;&lt;i class = "icon-attach"&gt;&lt;/i&gt;&amp;nbsp;ไฟล์แนบ : 
                ***&lt;input type="file" name = "myDoc" id = "myDoc" accept=".doc,.docx,.pdf,.txt,.xls,.xlsx,.ppt,.pptx"&gt;***
                &lt;/p&gt;&lt;/li&gt;               
                &lt;li class="field" style="display:inline"&gt;&lt;p&gt;&lt;i class = "icon-doc-text"&gt;&lt;/i&gt;บทความ : 
                &lt;textarea class="input textarea" placeholder="Description" rows="5" name = "text" id = "text" required="required"&gt;&lt;/textarea&gt;
                &lt;/p&gt;&lt;/li&gt;
                &lt;input class="medium btn pill-left default push_seven two columns" type="submit" value = "upload" onclick = "return check();"&gt;
                &lt;input class="medium btn pill-right default two columns" type="Reset" value = "Reset"&gt;
  </code></pre>
  
  <p><strong>Model</strong> - in this model i pass the $_POST to controller save_blog()</p>
  
  <pre><code>public function save(){
      $this-&gt;load-&gt;model('blog_maintain_helper');
      $data['result'] = $this-&gt;blog_maintain_helper-&gt;save_blog();
      $this-&gt;loadView('blogMaintainView',$data);
  }
  </code></pre>
  
  <p>Controller </p>
  
  <pre><code>function save_blog(){           
      $config =  array(
          'upload_path'     =&gt; 'server_path',
          'allowed_types'   =&gt; "gif|jpg|png|jpeg|pdf|doc|xml",
          'overwrite'       =&gt; TRUE,          
      );
      get_instance()-&gt;load-&gt;library('upload', $this-&gt;config);
      if($this-&gt;upload-&gt;do_upload())          
      {
          echo "file upload success";             
      }           
      else            
      {
          echo $this-&gt;upload-&gt;display_errors();           
      }       
  }
  </code></pre>