in reply to Re: Multpile checkbox handling?
in thread Multpile checkbox handling?

You are not printing this data to your database, you are just printing, except in the one line where you print to DAT....

Also, if I am reading it correctly, you are going through all of your values in the hash input 16 times. It looks like your routine will assign a value of either three dashes or the last value of $name from the part of your script that deals with inputting. This will probably clobber all of your work of assigning these values.

You might want to try this in your script to see what the values are...

foreach $key (keys (%input)) { print qq|The key is $key and the value is $input{$key}\n|; }
To see what effect your loop has on the data, try running it above and below where you trying to write to the database. I often do this to doublecheck I am not messing up my values (which I do with amazing frequency).

I still recommend CGI.pm BTW - makes lots of things a bit easier.

HTH,

Kind thanks to Beatnik on his gentle clarification of the real value of $ENV{'CONTENT_LENGTH'}
EEjack