|All requests||>||Pagination for content||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Pranoti - 5 years ago (2015-07-29)
I need to divide content into multiple pages.
Here is a highly rated class using mySQL object results from a query to return html page links.
1. by Manuel Lemos - 5 years ago (2015-08-05) Reply
Yes, that can be a good solution too.
The example uses MySQL, but since the connection is a parameter, it can be as well other types of databases that support the LIMIT and OFFSET clauses to define the range of rows to retrieve from the current page.
If you use the Bootstrap library, this package maybe solve your project if you are taking the content from MySQL databases.