In an HTML form when I use a radio button how will the php program where the data goes to will know the correct option chosen?
in HTML the script will be like:
<form action='abc.php' method='post'>
<LABLE>YES</LABLE>
<input type='radio' name='agree'>
<LABLE>NO</LABLE>
<input type='radio' name='agree'>
</form>
Now since both options have same name'agree', how will php variable know the difference. i.e. whether the client has chosen YES or NO.