jeudi 11 août 2016

How to skip first item in a foreach loop in Laravel?

i am trying to fill my webpage with content based on the content i have in my database. But i would like to skip the first item, i want it to start looping from the second item how can i achieve this.

@foreach($aboutcontent as $about)
<div class="col-md-4 text-center">
   <div class="thumbnail">
     <img id="" class="img-responsive" src="images/" alt="">
        <div class="caption">
            <h3></h3>
            <p></p>
        </div>
   </div>
</div>
@endforeach



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire