TechnoWeenie
MIS
I'm making a rating system for misc. items in our database.
What I've got so far is the opening page reads the items, gets the current rating from the database and displays them. At the end of each line/item I have 5 radio buttons valued 1-5, the strItem is populated by the db.
form method="post" action="vote.asp"
input type="radio" value="1" name="<%=strItem%>"
input type="radio" value="2" name="<%=strItem%>"
input type="radio" value="3" name="<%=strItem%>"
input type="radio" value="4" name="<%=strItem%>"
input type="radio" value="5" name="<%=strItem%>"
input type="submit" value="Vote" name="B1"
I've tried response.write request.form and it shows me the following posted to vote.asp:
Blue_Pen=5&B1=Vote
how do I separate the Blue_Pen and the 5 into their own variables so I can use them in the vote.asp?
What I've got so far is the opening page reads the items, gets the current rating from the database and displays them. At the end of each line/item I have 5 radio buttons valued 1-5, the strItem is populated by the db.
form method="post" action="vote.asp"
input type="radio" value="1" name="<%=strItem%>"
input type="radio" value="2" name="<%=strItem%>"
input type="radio" value="3" name="<%=strItem%>"
input type="radio" value="4" name="<%=strItem%>"
input type="radio" value="5" name="<%=strItem%>"
input type="submit" value="Vote" name="B1"
I've tried response.write request.form and it shows me the following posted to vote.asp:
Blue_Pen=5&B1=Vote
how do I separate the Blue_Pen and the 5 into their own variables so I can use them in the vote.asp?