title: how to show 2 array in 1 foreach in laravel blade
body: <p>I have 2 arrays to send to my front like below:</p>
  
  <pre><code>public function startreserve(Request $request){
      $checkbox = $request-&gt;input('d');
      foreach ( $request-&gt;input('d') as $values){
          $values = explode("-",$values);
          $date[] = $values[0];
          $price[] = $values[1];
      }
      return view('users.properties.reserve',compact('date','price'));
  }
  </code></pre>
  
  <p>Here is what I wrote on my blade and its working fine but I want to show date and price together so I think I have to use 1 foreach and show them both so I wanna know if that's possible here is view:</p>
  
  <pre><code> &lt;div class="col-lg-12"&gt;
       @foreach($price as $prices)
          &lt;div class="col-lg-2"&gt;{{$prices}}&lt;/div&gt;
       @endforeach
       @foreach($date as $dates)
          &lt;div class="col-lg-2"&gt;{{$dates}}&lt;/div&gt;
       @endforeach
   &lt;/div&gt;
  </code></pre>