in reply to How can I allow the user to enter multiple rows of data?
If the param names were sequential, they'd be easier to loop. :)
use CGI ":all"; # of course # ... # generate HTML: print p("Field $_:"), textfield("input$_"), br for 1..10; # ... # get params: $data[$_] = param("input$_") for 1..10;
|
---|
In Section
Seekers of Perl Wisdom