title: Laravel 5 - Multiple form inputs with the same name but keeping the order
body: <p>Making a blogging system using L5 and my current set up is all ready except for the saving of the blog posts.</p>
  
  <p>I have 2 buttons. One creates a textarea input and the other creates a file upload interface.</p>
  
  <p>Essentially, after creating a blog post I am left with the structure like so:</p>
  
  <pre><code>&lt;form&gt;
      &lt;textarea name="text-update"&gt;foo&lt;/textarea&gt;
      &lt;textarea name="text-update"&gt;foo&lt;/textarea&gt;
      &lt;textarea name="text-update"&gt;foo&lt;/textarea&gt;
      &lt;textarea name="text-update"&gt;foo&lt;/textarea&gt;
      &lt;input type="hidden" value="an image url"/&gt;
      &lt;input type="hidden" value="an image url"/&gt;
      &lt;textarea name="text-update"&gt;foo&lt;/textarea&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Ideally I want to be able to go:</p>
  
  <pre><code>public function store()
  {
      foreach (INPUTS AS INPUT) {
          add new row to database with the content and also the type of input.
      }
  }
  </code></pre>
  
  <p>The aim is that instead of having a single blog I instead have blog sections which will belong to a blog post.</p>
  
  <p>If this isn't possible then Ill just have to increment the names of the inputs and figure something out.</p>