ManweSulimo
07-06-2003, 08:08 AM
Don't know where to post this so I'll try here. Ok I want to make this quiz think on my web page where there are some questions they have to answer, I don't know if I want the inputs as text or radio, but what ever I decide I want it so when the hit the finish button it gives them a score and shows them what they missed. How might I do this?
And if I have it as text, how do I make it so it's not case sensitive and such?
Stormx
07-06-2003, 02:43 PM
Differcult thing to do, but you COULD do it with javascript or PHP. I am sure there is a code out there. I can make one but look for a code first please
buffyfan
07-06-2003, 07:55 PM
Originally posted by ManweSulimo
Don't know where to post this so I'll try here. Ok I want to make this quiz think on my web page where there are some questions they have to answer, I don't know if I want the inputs as text or radio, but what ever I decide I want it so when the hit the finish button it gives them a score and shows them what they missed. How might I do this?
And if I have it as text, how do I make it so it's not case sensitive and such?
you good use a ready made quiz. www.alxnet.com all you need to do is enter your questions and the answers and you can decide the colours and decide whether you want them to see what they got wrong and whether you want them to see the answer. click here to go to the site (www.alxnet.com)
hope i have helped
ManweSulimo
07-08-2003, 11:59 PM
I was hoping to keep it on my site. So there's no real easy way to do something like this: http://www.pressanykey.com/cgi-bin/cgiwrap/pak/jquiz.cgi ?
Makar
07-09-2003, 12:06 AM
Actually since it is complicated you could just tell me what you want and I could make it for you...online quizzes is the only thing I CAN do. :D
ManweSulimo
07-09-2003, 12:25 AM
I would be very gratefull, I've found things online that do it for you, but you have to go through their site, and it's already pre-formated, and others that I have no clue what they are talking about.
This is how I want it to look, here (http://members.aol.com/manwesuiimo/quiz.html)
and after they hit the submit button it takes them to this:
Here (http://members.aol.com/manwesuiimo/answer.html)
Any help would be sooooo cool.
Them maybe have a difficult setting where the radio inputs turn to text inputs so they don't have the mutliple choice. But that might be too complicatied.
Makar
07-09-2003, 12:32 AM
Oh...I only know how to do personality quizzes, I would have to study a whole new type of quiz...well, if you ever need to make a personality quiz, you know who to ask! ;) Sorry I couldn't help you with this one.
ManweSulimo
07-09-2003, 12:34 AM
No problem, thanks for the help anyways
ManweSulimo
07-14-2003, 10:12 PM
Ok I found this PHP thingy, but it wont work, what's up?
There are two pages one .html and one .php. The HTML one goes:
<FORM ACTION="quizresults.php" METHOD="post">
<B>1. Question</B>
<BR>
<BR>
<INPUT TYPE="radio" NAME="question1" VALUE="a">A.) Answer
<BR>
<INPUT TYPE="radio" NAME="question1" VALUE="b">B.) Answer
<BR>
<INPUT TYPE="radio" NAME="question1" VALUE="c">C.) Answe
<BR>
<INPUT TYPE="radio" NAME="question1" VALUE="d">D.) Answer
<BR>
. . .
<P>
<INPUT TYPE="submit" VALUE="Submit">
</P>
</FORM>
And the PHP one goes:
<?
$score=0;
if ($question1=="d")
$score=$score+1;
else {
echo "message here on what they missed";
}
. . .
echo "<H3>Your quiz score is ".$score."</H3><BR>";
?>
What's wrong with it?