On 12-Sep-2001 Christopher William Wesley wrote:
> On Tue, 11 Sep 2001, Ryan Stephens wrote:
>
>> Im trying to output a list of options, each with a checkbox named "ChkBox"
> ...
>
> Name each checkbox "ChkBox[]" ... the brackets are the key.
>
> When the form is submitted, you'll have an arra
On Tue, 11 Sep 2001, Ryan Stephens wrote:
> Im trying to output a list of options, each with a checkbox named "ChkBox"
...
Name each checkbox "ChkBox[]" ... the brackets are the key.
When the form is submitted, you'll have an array called $ChkBox that will
contain the data only from the checked
>$num_inputs = 5; // if you want 5 sets of checkboxes and text inputs.
>
>for ( $i = 0; $i < $num_inputs; $i++ )
> {
> echo "Cb $i name=text[$i]>\n";
> }
yeah... that can work, I think it's a little less messy than what I've
done... I did it like this:
for each checkbox I did
echo
"Christian Dechery" <[EMAIL PROTECTED]> wrote:
> How can I associate a list of checkboxes to a list of texfields?
> but what if have:
> Cb1 Cb2
> how would I associate each textfield to its checkbox? In the same array?
in
> a different one? How??
I would recommend generating these checkbox / te
4 matches
Mail list logo