need to submit a value on radiobutton click (PHP picture rating system)

prallen

New member
Feb 23, 2010
5
0
0
Just as the title says, I am creating an image rating system - somewhat like hotornot.com. I have 10 radiobuttons numbered 1-10 and i need them to submit their own value using $_POST when one of the radio buttons is clicked. I'm not sure how to go about this... I see a lot of sites like this using Javascript. Is there any way around using javascript? what can I do?
 


<form name="form" method="post" action="accept"><br>
<input type="radio" name="hot" value="0" onclick="this.form.submit();">0<br>
<input type="radio" name="hot" value="1" onclick="this.form.submit();">1<br>
<input type="radio" name="hot" value="2" onclick="this.form.submit();">2<br>
.
.
<input type="radio" name="hot" value="10" onclick="this.form.submit();">10<br>
</form>