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

Result: 11 - 15 of 37 records

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

  • 34WebDeveloper.com
  • 35PHP Help: PHP Freaks!
  • 41PHP Classes Repository
  • 48The PHP Resource Index
  • 53Need Scripts

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

<< 1 | 2 | 3 | 4 >> 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.

  

The Ultimate Managed Hosting Platform