Have a think about your inputs and outputs. (It might help the maths to treat your pages as "0|1|2", "3|4|5" etc., then simply add 1 before printing.)
Cheers, Ben.
In reply to Re: help on a lil problem here
by benn
in thread Handling paged results
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |