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 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.
> 
> Thanks,
> 
> Jeremy
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to