http://qs321.pair.com?node_id=28936

scratch has asked for the wisdom of the Perl Monks concerning the following question:

I'm using CGI.pm to collect some info. Right now I'm just writing the values out to a file with the save_parameters function, but I'd like to write the data to a database. I think I can do this with the DBI module - and I'll look into that more - but I've got sort of a general question: How can I take a checkbox_group variable or question from the form and write its values (stored in an array in perl) into a database? Do I somehow need to pull out each of the array elements into scalar vars before I try writing data out to a database? I'm getting sort of stumped thinking about how to do this. Thanks a lot for any suggestions!

Originally posted as a Categorized Question.