Re: A _post question I guess
| From: | Brad Pauly | Date: | Mon, 29 Sep 2003 15:57:24 +0000 |
| Subject: | Re: A _post question I guess | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164261@lists.php.net to get a copy of this message | ||
John Taylor-Johnston wrote:
Ok, but the problem is that I will, might have other fields. I need to filter out just the exerciseN fields. Interesting though thanks,Then just look at $feild_name and see if it is one of the 'exercise' fields. foreach ($_POST as $field_name => $field_value) {
if (stristr($field_name, 'exercise')) {
$content .= "$field_name = $field_value\n";
}
}
- Brad