[PHP] Re: Mailing all the elements of a form

2002-07-09 Thread Richard Lynch
>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

[PHP] Re: Mailing all the elements of a form

2002-07-06 Thread B.C. Lance
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