Hello all , im trying to help a friend re-do his php rate script... the php part seems to work good but we are trying to build a form for a user to select from option circles 1- 10 and then have a button that says " Rate " to rate the article. Previously he had a system setup to use images , 1 - 10 images , and when the user clicked a image it would rate the person , we are trying to move to a form where he can use radio buttons 1 - 10 to apply the rating. But im stuck .. not really sure what to do at this point , any help would be appriciated.
<table border="0" cellspacing="0" cellpadding="0"><tr><td><form method="post" action="{BASE_URL}/rate.php" name="rate">
<input type="hidden" name="user_id" value="{I}">
<input type="hidden" name="rater_id" value="{RI}">
<input type="hidden" name="page" value="index">
<input type="hidden" name="submit_rating" value="">
<input type="hidden" name="img_num" value="{IMG_NUM}">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- BEGIN DYNAMIC BLOCK: row_vote_bar -->
<td><a href="#" onclick="document.rate.submit_rating.value={X};document.rate.submit();return false;"></a><td>
<!-- END DYNAMIC BLOCK: row_vote_bar -->
</tr>
</table>
</td></form></tr></table>
this is a copy of the form that was previously used , ive taken the section of the form that displayed the rating images out .. basically all i need to do is create a button that will take the rating selected 1-10 and send it to rate.php .. as in the actions above ... this might sound simple but ive been working on this for about 4 hours on the php script part and my brain is fried .. what do i need to do?