Answers for "loop index in laravel"

PHP
0

laravel foreach loop index

@foreach ($items as  $item)
{{ $loop->index }}
@endforeach
Posted by: Guest on June-07-2021
0

blade loop index

@foreach ($teams as  $team)
{{ $loop->index }}
@endforeach
Posted by: Guest on August-11-2021

Browse Popular Code Answers by Language