http://www.perlmonks.org?node_id=1012195


in reply to How to access an unknown number of CGI variables in a CGI script

Hello, I have an HTML form in which a user can click on "Add a row" link to have another row

There's no such thing as a row in an html form.

Or perhaps there's a better way to name the variable in the form to begin with? Thanks!

HTML forms do not have variables.
  • Comment on Re: How to access an unknown number of CGI variables in a CGI script

Replies are listed 'Best First'.
Re^2: How to access an unknown number of CGI variables in a CGI script
by Anonymous Monk on Jan 08, 2013 at 09:12 UTC

    Or perhaps there's a better way to name the variable in the form to begin with? Thanks!
    "student"

    Maybe have been thinking of "php form arrays" in which case CGI::Struct

Re^2: How to access an unknown number of CGI variables in a CGI script
by Anonymous Monk on Jan 08, 2013 at 10:58 UTC
    Hello, I have an HTML form in which a user can click on "Add a row" link to have another row
    There's no such thing as a row in an html form.
    Sure there is
    Or perhaps there's a better way to name the variable in the form to begin with? Thanks!
    HTML forms do not have variables.
    Sure they do