>I have looked in PHP manual but I cannot seem to find what I am looking for.
>
>I have a very large form that I need to be able to mail. I just don't want
>to have to code all of the field into my mail() function.
I think this one is still in the FAQ, so maybe it's time to re-read that.
I asked
you could loop through $_POST (assuming you are using a post action) to
extract the value out.
e.g.
$arr = array_keys($_POST);
for ($i = 0; $i < count($arr); $i++) {
$msg.= "{$arr[$i]}: {$_POST[$arr[$i]]}\r\n";
}
echo $msg;
b.c. lance
Jeremy Bowen wrote:
> Hey,
>
> I have looked in PHP ma
2 matches
Mail list logo