title: Laravel store Multiple input value for each item
body: <p>I want to store each member's shopping day using a laravel collection, but it doesn't show me each member's data, it only shows one user's data:</p>
  
  <p><a href="https://i.stack.imgur.com/yJPxU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yJPxU.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Z7G6h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z7G6h.png" alt="enter image description here"></a> </p>
  
  <p><strong>Blade template:</strong></p>
  
  <pre><code>@foreach($members as $member)
        &lt;div class="form-group row"&gt;
            &lt;label class="col-sm-4 col-form-label"&gt;{{$member-&gt;name}}&lt;/label&gt;
            &lt;div class="col-sm-8"&gt;
                &lt;select style="background-color: #e6e9f1" class="js-select2 form-control" name="day[{{$member-&gt;id}}][]" style="width: 100%;" data-placeholder="Choose single or multiple day" multiple=""&gt;
                    &lt;option&gt;&lt;/option&gt;
                    @foreach($days as $day)
                        &lt;option value="{{$day-&gt;name}}"&gt;{{$day-&gt;name}}&lt;/option&gt;
                    @endforeach
                &lt;/select&gt;
            &lt;/div&gt;
        &lt;/div&gt;
  @endforeach
  </code></pre>
  
  <p><strong>Controller:</strong> </p>
  
  <pre><code>public function assign(Request $request)
  {
      $collections = collect($request-&gt;day);
      foreach ($collections as $collection){
          return $collection;
      }
  }
  </code></pre>