SimplePaging takes an SQL query and counts the number of rows that it returns. It executes the SQL query to retrieve the results to display in the current page. It generates HTML links to go to the different pages the listing of the query results, considering a given limit of results to show per page and the number of the current page.
SimplePaging also generates forms with select input fields to go to the different listing pages and the user changes the current page selected value. The CSS class for the navigation links can be configured.
PHP 4.0 or higher
More popular HTML
- 5.8 KB
- 09/24/2008 02:19:32