Simple Pager code sample

	


			
  • $length) { $string = mb_substr($string, 0, $length - 3, $charset) . '...'; } echo $string; ?>

    $length) { $string = mb_substr($string, 0, $length - 7, $charset) . $text ; } echo $string; ?>
  • ".'<<'." "; // Goto 1st page for ($i=1; $i<=$total_pages; $i++) { echo "".$l.$i." "; }; echo "".'>>'." "; // Goto last page ?>
    Previous
    Next Post »