Brad. Perfect thanks.
> Brad Pauly wrote:
> foreach ($_POST as $field_name => $field_value) {
> if (stristr($field_name, 'exercise')) {
> $content .= "$field_name = $field_value\n";
> }
> }
Tom, Not sure why, but wouldn't work
>Tom Rogers wrote:
>if(isset($_POST['exercise'])){
> foreach($_POST['exercise'] as $key=>$val){
> echo 'Key '.$key.' val '.$val.'<br>';
> }
>}
Thanks all.
P.S. I try to surf and contribute when I see something I can answer.
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php