The page navigation (pagination) of lists with records from a (MySQL) database is often used on a lot of dynamic Web sites. MyPagina is extremely easy to use in your existing application: just use your own SQL statement, and you get information like the result set (you need this for later output), page navigation links, and the (current) number of records. While using this class, all other query string parts are included inside the page links. An example database table (with data) is included.
| Tags | Software Development Libraries php classes Internet Web Dynamic Content |
|---|---|
| Licenses | GPL |
| Implementation | PHP |
Recent releases


Changes: The link text (and the new image function) for the forward and backward links will be created with the new method build_back_or_forward(). Because there is no need for them anymore, the variables str_forward and str_backward were removed. Check the example file for the possibility to use images in place of strings for the back and forward navigation and the modified navigation() method.


Changes: A small bug inside the page_info() method with showing the last page (set) was fixed. In the set_page() method, the check is now with $_REQUEST values rather than $_GET values.