Dhuan
03-28-2009, 09:08 PM
<form>
In my body, there are...<br>
<input type=checkbox name=body value=arms>...arms<br>
<input type=checkbox name=body value=legs>...legs<br>
<input type=checkbox name=body value=hands>...hands<br>
<input type=checkbox name=body value=fingers>...fingers<br>
<input type=submit>
</form><P>
Result: <?=$_GET[body] ?>
Alright, what I want to know is, what's the use of having the checkbox if the value will only be the last checked?
I wonder if I made myself clear enough.
You see, the checkbox is supossed to work so you can have multiple options selected, but that's not what it happens here...
In my body, there are...<br>
<input type=checkbox name=body value=arms>...arms<br>
<input type=checkbox name=body value=legs>...legs<br>
<input type=checkbox name=body value=hands>...hands<br>
<input type=checkbox name=body value=fingers>...fingers<br>
<input type=submit>
</form><P>
Result: <?=$_GET[body] ?>
Alright, what I want to know is, what's the use of having the checkbox if the value will only be the last checked?
I wonder if I made myself clear enough.
You see, the checkbox is supossed to work so you can have multiple options selected, but that's not what it happens here...