I have a small piece of code like:
<?php while($plan = mysql_fetch_array($plan_values)){?>
<input type="radio" name="bus_plan" value="<?php echo $plan['plan_id']; ?>" />
<a href="plan-tariff.php?plan_name=<?php echo $plan['plan_name']; ?>" target="_blank">
<span class="radiotxt"><?php echo $plan['plan_name']; ?></span>
</a>
<br clear="all" />
<?php } ?>
By the above while condition I am getting three radio buttons whose values are namely 1,2 and 8 .
Now my question is how to get the value of radio button while I am checking any one of the above buttons.
Put this code in the head section of your page.
When you click on any radio button this code will promt you the value of that radio button. Kindly ask if it not worked for you.