This information shows the current range of records and the total number of records.

Result: 21 - 25 of 37 records

These are the example database records (id and titel):

  • 60The phpMyAdmin Project
  • 61Mozilla projects
  • 62SitePoint : New Articles, Fresh Thinking for Web Developement
  • 63phpBB.com :: Creating Communities
  • 64WebHosters.nl - volledig en objectief webhosting overzicht

The navigation() method is showing this kind of links:

First << 3 | 4 | 5 | 6 >> Last

Notice the large number for the current link, you can modify the style using a CSS pseudo class.

The same method then before using number buttons and without forward/backward links:

The back_forward_link() method, shows only for- and backward links (you can use it for small recordsets).

This example is using images:

  

But you can use the same method with text or symbols too.

  

DigitalOceanSSD Cloud Server from $5/month by DigitalOcean, simple cloud hosting, built for developers. Receive $10 in credits »
ServerPilotServerPilot is the best way to run WordPress and PHP sites on your DigitalOcean servers. First month free »