form radio button not passing value
I am failing to see why a small form with a radio button group fails to pass any value to a proce开发者_JAVA技巧ssing php page. I have posted the code at pastebin.com at this link: http://pastebin.com/GT5HDpuc and would be grateful if someone could point out why this is happening. Thank you
UPDATED all code at http://jsfiddle.net/xGrb9/3/
You need to have your radio buttons in a <form>
element.
Encapsulate the radio buttons in the following:
<form method="post">
radio buttons go here
<input type="submit" value="submit" name="submit">
</form>
You would need to put those inside a <form method="post"></form>
element and you need to also submit the page to get the from the PHP side..
You example code does not show either of those things happening..
精彩评论