mailto:[EMAIL PROTECTED]
Sent: 17 July 2003 10:35 am
To: [EMAIL PROTECTED]
Subject: RE: [PHP] retrieving form checkbox values
I think you have to do
Then $File becomes an array. If you want to retrieve the value for each
checkbox you can use a for loop and do value=$File[$i]
-Original Messag
eckbox];
... Repeat for your other row-level form inputs ...
Do something with the data...
}
Hope this helps
George in Oxford
> -Original Message-
> From: Sævar Öfjörð [mailto:[EMAIL PROTECTED]
> Sent: 17 July 2003 10:35 am
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP
] retrieving form checkbox values
On Thursday 17 July 2003 16:45, caspar kennerdale wrote:
> I have a form which I want to post multiple values from one function
to
> another using checkboxes.
>
> Having one value is simple- the form submits the value $File and is
then
> retrieved in the targ
On Thursday 17 July 2003 16:45, caspar kennerdale wrote:
> I have a form which I want to post multiple values from one function to
> another using checkboxes.
>
> Having one value is simple- the form submits the value $File and is then
> retrieved in the target function via $_Request['File'] So far
I have a form which I want to post multiple values from one function to another using
checkboxes.
Having one value is simple- the form submits the value $File and is then retrieved in
the target function via $_Request['File']
So far so good.
Now I want to have multiple values for $File, because
5 matches
Mail list logo