title: How to upload multiple image with validation in CodeIgniter
body: <p>I'm trying to upload multiple images with validation but not able to do so. </p>
  
  <p><strong>My view code is as below:-</strong></p>
  
  <pre><code>&lt;?php echo form_open("controller/action");?&gt;
      &lt;ul&gt;
          &lt;li&gt;Category Image &lt;input type="file" name="category_img"&gt;&lt;/li&gt;
          &lt;li&gt;Product Image &lt;input type="file" name="product_img"&gt;&lt;/li&gt;
          &lt;li&gt;Slider Image &lt;input type="file" name="slider_img"&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;input type="submit" name="submit" class="btn" value="Submit" /&gt;
  &lt;?php echo form_close();?&gt;
  </code></pre>
  
  <p>Looking forward for a solution.</p>