Display items and pagination

hello guys!
i’m new member and this is my first post ,
i want to make a simple php website looks like this one :http://www.pdfmagazines.org/books/
which displays ebooks and ability to download them .
i need some advices and ideas how to make that display and pagination plz !!
if its possible show me some samples !!
thanks

The idea behind pagination is simple math. Define how many items you want per page, total item count divided by items per page gives you number of pages. To get items to display for particular page multiply page number by items per page, minus items per page. And then MySQL LIMIT can be used, to retrieve records to be displayed, of course, if you are using MySQL.