Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Questions and Answers

Status
Not open for further replies.

Nilgni

Instructor
Feb 21, 2002
58
US
Need to create funtion that will allow users to create questions and answers for those questions.

Using DWCS3 and ASP. I have created the function where my users can create the questions, and add answers.

The information is stored in two tables with the questionID as the primary and secondary keys in the two tables.

Now I want to make a web page that will look like this:

Please answer the following questions. Click the radio button to indicate your answer. When you are finished press Submit.


Questions One:
Is this possible?

Yes [o]
No [o]

Question 2:
If so how does one go about it?

Carefully [o]
Recklessly [o]

Question 3:
How Do I do this?

Hope [o]
Pray [o]

[Submit Answers] [Cancel]

The biggest problem that I have with all of this is I don't know how to do it (as you can tell by my questions). I see this type of thing often and I am wondering if there is a good tutorial or example of how to go about it.

I am not a total novice coder, but I am lost on this one.


Thanks for any advice,
Keith
 
You just need to grab a recordset based on all of the questions and go through them displaying each option with an id of the question and a value of the answers then post that into another table.

[Peace][Pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top