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

Result: 31 - 35 of 37 records

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

  • 92SourceForge.net
  • 175ImageMagick: Convert, Edit and Compose Images
  • 176Smarty : Template Engine for PHP
  • 177CSS Vault :: The Web's CSS Site
  • 205WordPress, Free Blog Tool and Weblog ...

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

First << 5 | 6 | 7 | 8 >>

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 »