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'])){
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
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 = $f
Hi,
Tuesday, September 30, 2003, 1:41:11 AM, you wrote:
JTJ> I have a form. It has any number of hidden fields, named "exercise
JTJ> 1-100". Their names all start with "exercise" as in:
JTJ>
JTJ> ... ?
JTJ>
JTJ> any number fo these possible ...
JTJ>
JTJ> How can I create one scipt that will r
John Taylor-Johnston wrote:
I have a form. It has any number of hidden fields, named "exercise 1-100". Their names all start with "exercise" as in:
... ?
any number fo these possible ...
How can I create one scipt that will recognise all of them? Any number of them. My idea is a bit like formma
I have a form. It has any number of hidden fields, named "exercise 1-100". Their names
all start with "exercise" as in:
... ?
any number fo these possible ...
How can I create one scipt that will recognise all of them? Any number of them. My
idea is a bit like formmail.pl that reads any old
6 matches
Mail list logo