in reply to multi-record db update using cgi

Use the -name=> parameter of the textfield routine. Name each parameter in such a way, that you can easily deduce which column and which CD it belongs to.

For instance, you could use:

$q->textfield (-default=>A,-name=>"title_$cdnum"),$q->textfield (-defa +ult=>""-name=>"artist_$cdnum")
Then, as you iterate through param(), you can determine for each field where it belongs, and process it accordingly.