in reply to Re^2: process multiple rows from form
in thread process multiple rows from form

I do something similar. Generaly I throw a _ in the name so its 1_price. Then loop over it spliting them out. Probably some easier way to do it, but I've sued something similar to the following.

my $ids = {}; my @params = $cgi->param(); foreach my $param ( @params ) { my ($id, $field) = $param =~ /^(\d+)_(.*)$/; $ids->{$id}->{$field} = $cgi->param($param); }

Depending on the values you could get and how you want to handle them you might need to check for the lenght of the return value. YMMV


___________
Eric Hodges