Jump to content

easy questions with radio button-forms but just cant figure it out *solved*


jwk811

Recommended Posts

How can I retrieve the data from a radio button in a form? I know how to get all the others but I just can't figure out how this works.. I tried <input type="radio" name="1" value="(the input)"> and tried to catch the data like this
<?php
$name = $_POST['1'];
?>
and should the value come up in the variable?
when i sent that data in an email it came up "on"... what does that mean, lol?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.