I'm rather new, and very confused about php.. I'm reading up though, and I like to think I'm slowly getting better... I have a problem which is puzzling me, though...
I have nested forms set up like this
<FORM ACTION = "result.php" METHOD = "POST">
<FORM NAME = "f1">
<INPUT TYPE = "RADIO" VALUE="1" NAME="A1"> x
<INPUT TYPE = "RADIO" VALUE="2" NAME="A2"> y
<INPUT TYPE = "RADIO" VALUE="3" NAME="A3"> z
</FORM>
<FORM NAME = "f2">
<INPUT TYPE = "RADIO" VALUE="1" NAME="A1"> x
<INPUT TYPE = "RADIO" VALUE="2" NAME="A2"> y
<INPUT TYPE = "RADIO" VALUE="3" NAME="A3"> z
</FORM>
<INPUT TYPE="SUBMIT">
</FORM>
The radiobuttons are being filled with data from a database, and for each record in the table, a subform is made... The question is, in result.php, which variables are in the array? Is there a way to check?
--------------------------------------
It's not the monsters under your bed, it is the men next door.
That make you fear, make you cry. Make you cry for the Child.
All the wars are fought amongst those lonely men. Unharmed, unscarred.
I have nested forms set up like this
<FORM ACTION = "result.php" METHOD = "POST">
<FORM NAME = "f1">
<INPUT TYPE = "RADIO" VALUE="1" NAME="A1"> x
<INPUT TYPE = "RADIO" VALUE="2" NAME="A2"> y
<INPUT TYPE = "RADIO" VALUE="3" NAME="A3"> z
</FORM>
<FORM NAME = "f2">
<INPUT TYPE = "RADIO" VALUE="1" NAME="A1"> x
<INPUT TYPE = "RADIO" VALUE="2" NAME="A2"> y
<INPUT TYPE = "RADIO" VALUE="3" NAME="A3"> z
</FORM>
<INPUT TYPE="SUBMIT">
</FORM>
The radiobuttons are being filled with data from a database, and for each record in the table, a subform is made... The question is, in result.php, which variables are in the array? Is there a way to check?
--------------------------------------
It's not the monsters under your bed, it is the men next door.
That make you fear, make you cry. Make you cry for the Child.
All the wars are fought amongst those lonely men. Unharmed, unscarred.