in reply to Re: Re: button in a table?
in thread button in a table?

Great, That works, but take me one more step how do I get the rownum reference into the code in the script_to_read_rownum.cgi? http://localhost/script_to_read_rownum.cgi?rownum=

Replies are listed 'Best First'.
Re: Re: Re: Re: button in a table?
by Improv (Pilgrim) on Apr 11, 2003 at 18:20 UTC
    I don't understand. There are the things you need to do.
    1. In your for loop, build form buttons that submit the appropriate rowid to your target URL
    2. In the CGI which recieves the form submission, use use the CGI module, get a CGI object $foo, and call $foo->param("fieldname"). You get whatever was passed as the value of that field, or undef if nothing was passed
    3. Act accordingly
    I'd be happy to help further, if you tell me exactly which step you'd like help on. Cya