title: Codeigniter multiple file upload with input array key
body: <p>I have two input field as below;</p>
  
  <pre><code>&lt;input type="file" name="datainfo[site_logo]" class="custom-file-input" id="site_logo"&gt;
  &lt;input type="file" name="datainfo[site_fav]" class="custom-file-input" id="site_fav"&gt;
  </code></pre>
  
  <p>How can i upload two files with foreach ? I have tried a few methods but i couldnt achieve this.</p>
  
  <p>Thanks,</p>