in reply to CGI array issues.

You just need someway to match your checkboxes to the data you want to enter. The easiest way would be to set the value of the checkbox to whatever data you want to add to the database. Then you just iterate over the name of all your checkboxes and insert the value. Another way would be to key every record with a unique ID, and then just have the checkbox submit the id. The downside to this is that it requires you to store the id/result mappings someplace on disk your cgi can find them when you hit submit.