Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a CGI script used to retrieve or alter values of database tables and then output the results by generating a table in html.
Using CGI.pm, I was able to store the previous selection each time a new request is made. However, I was unable to achieve a cummulative retention of the results.
eg:
1st request is to retrieve all entities of Column 1
2nd request made to retrieve an entry in (2,3)
After the 2nd request, the entry(2,3) is shown and Column 1 values will be gone since the page has been refreshed.
I am showing the request form and the corresponding table on the same HTML. One way of doing this is to use hidden field to store the current results and pass it together with the next request, but this method is cumbersome when I have a 10X200 table
Any help will be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating persistent table with CGI.pm
by mirod (Canon) on Feb 24, 2001 at 16:08 UTC | |
|
Re: Creating persistent table with CGI.pm
by binary* (Novice) on Feb 24, 2001 at 20:20 UTC | |
|
Re: Creating persistent table with CGI.pm
by wardk (Deacon) on Feb 25, 2001 at 03:07 UTC | |
|
Re: Creating persistent table with CGI.pm
by sierrathedog04 (Hermit) on Feb 25, 2001 at 14:57 UTC |