pagination 에서의 페이지별 행 번호
Laravel2020. 7. 23. 18:06
728x90
https://stackoverflow.com/questions/18024237/increment-row-number-with-laravel-pagination
@foreach ($telephone as $key=> $whatever)
<td>{{ $key+ $telephone->firstItem() }}</td>
@endforeach