title: Receive more than one input in controller
body: <p>i have a form to submit with more than one input to send via foreach loop like below :</p>
  
  <pre><code>@foreach($price as $key =&gt; $prices)
      &lt;div class="col-lg-2 text-center"&gt;
          {{$date[$key]}}
          &lt;input type="hidden" value="{{$date[$key]}}" name="dates{{$key}}"&gt;
          &lt;hr&gt;
          {{$prices}}
      &lt;/div&gt;
  @endforeach
  </code></pre>
  
  <p>when i submit the  form i try to catch like this :</p>
  
  <pre><code>foreach ($request-&gt;input('dates') as $values) {
      $date[] = $values[0];
  }
  echo $date;
  </code></pre>
  
  <p>but i get the error that :</p>
  
  <pre><code>Invalid argument supplied for foreach()
  </code></pre>
  
  <p>because i did the following :</p>
  
  <pre><code>$request-&gt;input('dates')
  </code></pre>
  
  <p>it returns null . </p>