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  Python code snippet - How to make a discord bot dm someone ?

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.