Author : Dodit Suprianto Email : d0dit@yahoo.com or meozit@yahoo.com Website : http://doditsuprianto.com, http://goiklan.co.nr : http://www.meozit.com, http://easyads.co.nr Description: CSSPagination is a pagination class which combines with Cascading Style Sheet for good looking style; CSSPagination has main function to split all records before they will be loaded into one website, to be several records in one page (you can determine how many records in one page). So, if you want to jump at the other page, you can choose once of them. CSSPagination is easy to use and good looking. I try to throw the complexity code. The most important is, that you can change the CSS code (style.css) to make it suitable with your own page style. Instruction how to use CSSPagination: CSSPagination Test setPage($_GET[page]); // dont change it echo $pagination->showPage(); // Second select is similar at the top one, but it follows by limitation. $sql2 = "SELECT * FROM whatevertable WHERE whateverfilter ORDER BY whateverorder LIMIT " . $pagination->getLimit() . ", " . $rowsperpage; $result = @mysql_query($sql2, $any_connection_db) or die("failed"); while ($rows = mysql_fetch_array($result)) { // Do something in here // such load any field you like // according the current page } echo $pagination->showPage(); // Show the pagination index ?>