Like the other posters, I'm not absolutely sure what
you're asking. But I thought I'd just guess and ask: do
you have multiple form inputs with the same name, and
you want your script to recognize that? (Where currently
the script would just be overwriting the previous values
each time through the loop). If so, I really highly
suggest using CGI.pm, as it handles this quite nicely.
in reply to Generic Form thingy
If you must do it yourself, think about using a slightly
different data structure. For example, have the values in
your hash be array references instead of scalar values.
Then in the array you can hold as many multiple values
as you want.
On the whole, though, this may not have been what you
were asking, and if it was, my first recommendation would
be to use CGI.pm.