Kiko has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I have a database that contains several thousands of records. I have a function that allows the user to view the records depending on what their search string is. Lets say that i chose to view the database by year, then title, then description. I would get about 111 records. I only want to display 100 records and then show the remaining records. This is what i have thus far: if ($count>$visible){ print "<font size=2 face=helvetica> <a href=\"$ENV{'SCRIPT_NAME'}?$ENV{'QUERY_STRING'}&min= +100\"> Next (what ever is left) </a></font>"; } It works in the sense that it only shows 100, but then again it doesn't cause i don't know how to show the remaining records. ThanX! Kiko
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: View 100 then click for rest
by btrott (Parson) on Jul 27, 2000 at 20:50 UTC | |
by le (Friar) on Jul 27, 2000 at 20:55 UTC | |
|
Re: View 100 then click for rest
by lhoward (Vicar) on Jul 27, 2000 at 20:54 UTC | |
by le (Friar) on Jul 27, 2000 at 21:00 UTC | |
by lhoward (Vicar) on Jul 27, 2000 at 21:10 UTC | |
by eduardo (Curate) on Jul 28, 2000 at 04:15 UTC | |
|
Re: View 100 then click for rest
by merlyn (Sage) on Jul 27, 2000 at 21:37 UTC |