OK, I did a lot of googling around and finally found some tutorials that I could understand. I also did some trial and error.What I found that worked is
while (list($key,$value) = each($recip)) { $mailbod[$key]="$key: $value"; // bundles up variables into an array variable$thebod.="$key: $value <br>"; //bundles up variables into a single variable}
That bundled up all the elements of the array into a single scalar variable, $thebod. Also, to avoid confusion, I gave each radio button value its own variable name. Then I made $thebod the body of an emal message, by doing
mail($to, $subject, $thebod, $theheaders )
That last part was easier than perl - where I had to open MAIL, then print $thebody to mail, then CLOSE mail.By doing $mailbod[$key] = "$key; $value"; I got an array. I could also have made $thebod outside the while-loop, by simply imploding that array that I made within the while loop.With $mailbod[any element] I would be able to access elements individually, if I wanted to. If I didn't forsee any need for that, I could have simply skipped making the array, and made only the scalar variable. I am going to try adservio's suggestion tho. However I will have to look up $_REQUEST.Here is the resulting form.