Ok, but the problem is that I will, might have other fields. I need to filter out just 
the exerciseN fields. Interesting though thanks,
John

Brad Pauly wrote:

> You could just loop over the _POST array.
>
> foreach ($_POST as $field_name => $field_value) {
>         $content .= "$field_name = $field_value\n";
> }
>
> Then just email $content. You could filter out the excerciseN fields if
> you only wanted to send those.

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

Reply via email to