Dear all,
i have need to code a page numbering function..
e.g.
there is 40 rows for the table.
page_per_row = 3
total_page= ceil(40/page_per_row) = 14 pages
display_per_set = 5
so the system each time will display 5(display_per_set) pages
e.g.
1,2,3,4,5 <next 5>
if i click <next 5>
it should display
<pre 5> 6,7,8,9,10 <next> seem there is not enoug pages total 14), it becomes <next> instead of <next5>
anyone shares with me the coding??
thx in advance