Ivo
|
| Posted: 03/26/2004, 2:13 AM |
|
hello,
I'm building an quiz. I think 14 questions and 4 answer possibilities for every question. The problem is how to count the score. Every answer has a value from the database.. I think I have to work with a session. Is there somebody with experience building a quiz or has an example?
If it spent to much time to help me with this strange question maybe someone knows how to make a session. I looked at the help file and I found the script:
CCSetSession (name, value).. but I don't get how it works..
Thanks for helping!
Kind regards,
Ivo
|
|
|
 |
RonB
Posts: 228
|
| Posted: 03/30/2004, 1:47 AM |
|
You normaly count the score after you submit the form. Is the count you are refering to a count of al earlier submitted forms (10 percent of the people that did the quiz choose yellow as their favourite colour) or do the answers in the form itself carry a score for each possible answer:
question 1 favourite colour
anser one Yellow (scores 1 point)
answer two Red (scores 2 points) etc etc
|
 |
 |
pap
|
| Posted: 01/30/2005, 1:20 PM |
|
Look for the Quiz done by Elena. It's done in CodeCharge. I tried opening it in CCS and make it work. But I'm having some problems.
It is at: http://www.gotocode.com/art.asp?art_id=147&
BTW, has anyone tried converting it to CCS?
|
|
|
 |
mrachow
Posts: 509
|
| Posted: 01/31/2005, 12:00 AM |
|
Not knowing this project but if there is custom code it will not be converted and will be missed therefor.
_________________
Best regards,
Michael |
 |
 |
|