<INPUT> statement

I have the following line in my code.
echo "<pDid Player Attend? -

";

I need it to send a value = 0 when not selected and a value = 1 when selected.

This is inside a along with other inputs.

How do I do this? I will use PHP, JS, HTML, whatever it takes.

Thanks in advance.

Did you solve this? It was marked solved, but, nothing written to show the solution to others.

Solution:
Use 2 “radio” buttons

echo “<p<font color=“White’”>Did Player Attend? - <INPUT TYPE=“radio” NAME=“attend” VALUE=“1”>Yes\n”;
echo “<INPUT TYPE=“radio” NAME=“attend” VALUE=“0”>No

”;
Sponsor our Newsletter | Privacy Policy | Terms of Service