CODE
// output voting option for each application.
echo("<p>");
echo("<form method='post'>");
echo("<span class='base_header'>Accept</span><input type='radio' name='status' value='accept' />");
echo("<span class='base_header'>Reject</span><input type='radio' name='status' value='reject' />");
echo("<input type='submit' value='Vote' />");
echo("</form>");
echo("</p>");
echo("<p>");
echo("<form method='post'>");
echo("<span class='base_header'>Accept</span><input type='radio' name='status' value='accept' />");
echo("<span class='base_header'>Reject</span><input type='radio' name='status' value='reject' />");
echo("<input type='submit' value='Vote' />");
echo("</form>");
echo("</p>");
I want to be able to submit to the same page but cant figure out how I am going to do it with the post method and retain the application Id which will be used later to process the vote.
I have got around this problem before with using links and using get method but it does give an ugly url extention and I dont want to resort to this.
CODE
<a href=\"example.php?remove=" . $id . "\"> Remove</a>
One advantage that get methods have is you can add additional id info on it like ?remove from above code example. I need someting like that for post method voting section. My question is it is possible to use the post method to submit votes and somehow retain a key for application id that is needed to process the vote. I have not added any names or id to the form because Im not sure which one I could use.
heres an screen shot to give you a better idea of what im after.

I know I could get around this with only displaying 1 form for each application on its own page then there would be only 1 form to submit but displaying multiple forms is more desirable.

