in reply to Re: Handling Dynamic URL Parameters
in thread Handling Dynamic URL Parameters

make the catalog number the field name, and the quantity its value

How would I get the parameter name?

And my examples are not sufficient because there will be more than just two fields defining a line. Right now there are five, but that may increase.

the_Don
...making offers others can't rufuse.

  • Comment on Re: Re: Handling Dynamic URL Parameters

Replies are listed 'Best First'.
Re: Re: Re: Handling Dynamic URL Parameters
by zigdon (Deacon) on Sep 13, 2002 at 16:47 UTC
    How would I get the parameter name?

    if you're using CGI.pm, you can get the parameter list by calling the param method without arguments:
    my $q = new CGI; my @params = $q->param();

    FWIW, I'd go with the  num_of_lines=5&item_num_1=1234&item_num_2=4562... approach.

    -- Dan