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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about comparing database info?

Status
Not open for further replies.

JayBirdSlim

Programmer
Jul 11, 2002
2
US
I've recently been thrust into the ASP/VBscript world from the HTML/Javascript world and I have run into my first major crisis. I have created some "quizes" for a user to take, the answers are databased and it's set up so that when they answer the question it shows them the correct answer.

What I want to do on top of that is have it compare their answer to the databased answer and say whether it is correct or incorrect. They questions are multiple choice and the answer id is in the database in numerical order...for example if the answer is the third check box the answer id is 3. I have set up the code however in one long ASP code so all the questions are databased and there aren't separate pages being called. Anyone have any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top