This is my first asp project.
TblRiddles
RiddleId TheRiddle
-------- --------------------------
1 My Riddle Number1
2 My Riddle Number2
3 My Riddle Number3
Tbl_Answers
AnswerID RiddleId TheAnswer
-------- -------- ----------------------
1 1 Answer to Riddle#1
2 1 Also an Answer to riddle #1
3 2 Answer to Riddle#2
4 3 Answer to #3
What I want to do is to display 1 riddle at a time and give visitors a text box to place their answers. Then When their answer is correct, I want to display the next riddle. I'm thingking of making my ASP randomly pick a riddle.
Any suggestion?
Well, I know how to display the first riddle and the text box to place answers, but I don't know how to go to the next or randomly picked riddle.
Thanks in advance.
Andel
andel@barroga.net
TblRiddles
RiddleId TheRiddle
-------- --------------------------
1 My Riddle Number1
2 My Riddle Number2
3 My Riddle Number3
Tbl_Answers
AnswerID RiddleId TheAnswer
-------- -------- ----------------------
1 1 Answer to Riddle#1
2 1 Also an Answer to riddle #1
3 2 Answer to Riddle#2
4 3 Answer to #3
What I want to do is to display 1 riddle at a time and give visitors a text box to place their answers. Then When their answer is correct, I want to display the next riddle. I'm thingking of making my ASP randomly pick a riddle.
Any suggestion?
Well, I know how to display the first riddle and the text box to place answers, but I don't know how to go to the next or randomly picked riddle.
Thanks in advance.
Andel
andel@barroga.net