I'm searching for a "advanced" php Pagination script, that shows me 10 mysql entries per page. In the web there are many "simple" scripts (even with jQuery) like this: http://www.9lessons.info/2009/09/pagination-with-jquery-mysql-and-php.html Here is a demo: http://demos.9lessons.info/pagination.php
These simple scripts are bad when having hundreds of entries... So what I need is an advanced script - I need something like this:
When you are on Page 1 it should look like this:
[1] 2 3 4 5 ... 45
On Page 8:
1 ... 6 7 [8] 9 10 ... 45
On Page 43:
1 ... 41 42 [43] 44 45
and so on...
Many forums or blogs (e.g. wordpress) are using this technique. Can somebody please provide me with the code? There must be a "best practise code", but I can't find it. Thanks!