1) { $limitEnd = $pageNumber - 1; $limitEnd = $limitEnd * $resultsPerPage; $limitEnd = "OFFSET $limitEnd"; } else {$limitEnd = "";} $limiter = "LIMIT $resultsPerPage $limitEnd"; $query = mysql_query("SELECT ID, isbn13, title FROM isbn WHERE ID != '1123415' ORDER BY ID Asc $limiter") or die(mysql_error()); //********************************************** //**** PAGINATOR //********************************************** $query2 = mysql_query("SELECT ID FROM isbn") or die(mysql_error()); $totalResults = mysql_num_rows($query2); if ( isset( $_GET['page'] ) ) { $currentPage = $_GET['page']; } else {$currentPage = 1;} $totalPages = $totalResults / $resultsPerPage; $totalPages = ceil($totalPages); $lastPage = ceil( $totalResults / $resultsPerPage ); $links = 3; $start = ( ( $currentPage - $links ) > 0 ) ? $currentPage - $links : 1; $end = ( ( $currentPage + $links ) < $lastPage ) ? $currentPage + $links : $lastPage; $pagination = ''; ?> Books
PayPal – The safer, easier way to pay online!

Book Links

Total number of books: