Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel foreach loop index

@foreach ($items as  $item)
{{ $loop->index }}
@endforeach
 
PREVIOUS NEXT
Tagged: #laravel #foreach #loop #index
ADD COMMENT
Topic
Name
6+6 =