How do I split data into pages, so there is only 5 records per page, then provide links as numbers, to navigate to the different pages?
E.g.
PREVIOUS | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | NEXT
Search on "pagination".