R
Richard Speiss
I am learning ASP and have my website working pretty well. Now I want to
add a "Surveys" section to it. The format will be something like:
Question 1
Choice 1
Choice 2
Vote
------------
Question 2
Choice 1
Choice 2
Vote
The page will contain more questions as time goes on. Each question and the
choices will come from a database. Each question and each choice has a
unique ID. Each choice will be a radio button
When the user presses the Vote button it needs to pass:
- The ID of the Question
- The ID of the Choice
The update.asp will expect to see the question ID, the choice ID and will
update the database based on that information.
I'm not sure how to go about passing the IDs since they will not be visible
on the webpage.
Am I going about this the right way? Is there a better way?
Any thoughts to point me in the right direction will be most welcome
Richard Speiss
add a "Surveys" section to it. The format will be something like:
Question 1
Choice 1
Choice 2
Vote
------------
Question 2
Choice 1
Choice 2
Vote
The page will contain more questions as time goes on. Each question and the
choices will come from a database. Each question and each choice has a
unique ID. Each choice will be a radio button
When the user presses the Vote button it needs to pass:
- The ID of the Question
- The ID of the Choice
The update.asp will expect to see the question ID, the choice ID and will
update the database based on that information.
I'm not sure how to go about passing the IDs since they will not be visible
on the webpage.
Am I going about this the right way? Is there a better way?
Any thoughts to point me in the right direction will be most welcome
Richard Speiss