I am doing a forum similar to this one, and I want to do a paging.
say show 10 records per page....
does anyone have a good script that is using PEAR?
if not, mysql_functions would be fine also....
Criteria:
I want to have clicks to " Page: 1 2 3 ... 100 "
I also want to have clicks " << " and " >> "
actually the paging in this forum is very good...
thanks
forum pager
Moderator: General Moderators
you can download phpBB and take a look at the code. The section you might be interested in is located in viewforum.php and starts with
Code: Select all
if( ( $replies + 1 ) > $board_configї'posts_per_page'] )