in reply to button in a table?
You could create a link as a row number as your first column.
while (@row = ...) { # include the rownum as part of the link print Tr( td( [a({-href=>"XXX".++$rownum}, "$rownum"), @row] ) + ); # Or, just the rownum with a different link #print Tr( td( [a({-href=>"XXX"}, ++$rownum), @row] ) ); }
Update: you could replace XXX with the URL of your cgi script and add a rownum param via GET. I.e. ... [a({-href=>"http://localhost/script_to_read_rownum.cgi?rownum=".++$rownum}, $rownum), ...]
HTH
--
hiseldl
What time is it? It's Camel Time!
|
---|
In Section
Seekers of Perl Wisdom