I need to send the information from a form with 50+ fields via mail
for ($a=0; $a<=count($_POST);$a++) {
$send=$send . the_key_of_the_$post[key] . ": " . $_POST[$a] . '\n';
}
the idea is to format the text in $send like this
Name_of_the_first_field: value
Name_of_the_second_field: value2
so i guess i have to make the $POST array key to be associative and output it on the place of "the_key_of_the$post[key]"
but how to output only the key and it to be word not number?