in reply to 5 of 10?
However, if you would not use CGI module at all, you may parse parameters as $ARGV[0]if ($entry >=5) {my $backnum= $entry-5} else {my $backnum=0}; my $nextnum=$entry+5; while ($entry % 5) { #do your output stuff ; $entry++; if ($backnum) { print "<a href=\"myscript.cgi?$backnum\">Previous</ +a>"}; }; print "<a href=\"myscript.cgi?$nextnum\">Next</a>"}; #other stuff...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: 5 of 10?
by mcwee (Pilgrim) on May 14, 2000 at 23:22 UTC |