PHP Pagination Show Total Results
how can i do PHP Pagination like this one?

**`Showing 31 to 45 of total 45 results`**

it will count the total of data that display inside table on every page. Help me please. Thanks.
PHP Pagination Show Total Results
===

how can i do PHP Pagination like this one?

**`Showing 31 to 45 of total 45 results`**

it will count the total of data that display inside table on every page. Help me please. Thanks.