in reply to mathematical equation
Page 1 shows items 0 - 19, right?
Page 2 shows items 20 - 40 (which works fine, no duplicates)
Page 3 would show items 40 - 60 (first duplicate (#40)
Page 4 would show items 60 - 80 (next duplicate (#60)
After page two your last item on the patch will duplicate the first item on the next page (in a consecutive ++). I don't know if this would work, but maybe add another <if> statement that does something like:
my $page = url_param('page'); if ($page > 2) { my $top = $page * 20); my $bottom = $top - 19;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: mathematical equation
by sauoq (Abbot) on Jul 28, 2003 at 06:59 UTC |