(06-24-2022, 04:45 AM)demyr Wrote: For example, if it was set for 7,15 It starts from 16 + 7 items and same items for each pagination 1-2-3-4.. No different result.
If
limit is 7:
Page 1: 1 to 7
Page 2: 8 to 14
Page 3: 15 to 21
Page 4: 22 to 28
You need two things for pagination.
1. pagination links
2. data to display
1. needs total count, per page, current page number.
2. needs data set to display.