Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

loop index foreach laravel

@foreach ($teams as $key => $team)
{{ str_ordinal($key + 1) }}
@endforeach
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #loop #index #foreach #laravel
ADD COMMENT
Topic
Name
3+9 =