Skip to content

PHP code snippet – How to write for loop in laravel blade?

// For
@for ($i = 0; $i < max_value; $i++)
     //your code
@foreach ($items as $item)
     //your code
See also  How to write a comment in CSS?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.