title: How Display 3 Posts in one Loop ??? Laravel
body: <pre><code>  &lt;?php $i=1; ?&gt;
                    &lt;?php $dayes = DB::table('days')-&gt;where('Doc',$item-&gt;id)-&gt;get(); ?&gt; 
                                      @foreach($dayes as $DAY)
                  &lt;?php $timess = DB::table('times')-&gt;where('days_id',$DAY-&gt;id)-&gt;get(); ?&gt;
  
                       @foreach($timess as $timer)  
                   &lt;div class="table-times"&gt; &lt;/div&gt;
    &lt;?php $i++; ?&gt;
                              &lt;/div&gt;
                           @endforeach 
                           @endforeach 
  </code></pre>
  
  <p>i need to display class table-times  3 in one loop </p>