I want to make a list with numbers for example ( 1. lorem 2. ipsum 3 ...) I have pagination in the list. I'm trying to get an index from an array
@foreach ($items as $index => $item)
<li>$index + 1</li>
@endforeach
This works, but when I use pagination, all pages start at 1 When using pagination, how can the numbering continue on the second page and not start over?
` or unordered list `
`?
– Coola May 26 '23 at 16:55