Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Php Quiz Script


34 replies to this topic

#26 acricket

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 10 posts

Posted 19 November 2008 - 03:34 PM

its just awesome dude thanks

#27 plastkstar

    Newbie

  • Kontributors
  • Pip
  • 6 posts

Posted 12 March 2009 - 12:23 AM

Ooh, this looks really neat, but the demo isn't showing up.
I would definitely use this if I could see a preview.

#28 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 20 October 2009 - 09:16 PM

How can I validate the answers with feedback to the studentsPhp Quiz Script

maddog39, this is an excellent script. Thanks alot. Its very simple and can be easily modified. Could you kindly guide me as to how I may be able to validate the answers and also provide feedback.

For example if let say the examinee puts in 'A' but the correct answer is 'B' - how can I let the examinee know that the provided answer is 'Incorrect' and 'Why B is the correct answer'

Thanks for your help.

Aftab

-question by aftab

#29 Taz

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 29 posts

Posted 07 November 2009 - 11:14 PM

The demo link is broken. But I have seen this kind before. Not the exact same though.

#30 TheDarkHacker

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 251 posts
  • Gender:Male
  • Location:somewhere where arent others
  • myCENT:1.16

Posted 08 November 2009 - 11:16 AM

Lol people instead of asking all this questions which are so stupid,why you do not learn how to program in PHP? It is so simple and you can do a simple quiz script.There are two ways,using switch-complicated way,and using simple lines of code-simple way :) I thin you will understand more the simplest way,so i will explain.You will need to have number of pages as you have questions + 1 page for result.First page should look like this:
<form action="two.php" method="post">
What is PHP?<br><br>
<input type="radio" name="answer" value="1">Process Hosting Processor <br>
<input type="radio" name="answer" value="2">Printing Hlocal Process <br>
<input type="radio" name="answer" value="3">PHP:Hypertext Preprocessor<br>
<input type="submit" value="Next question">
</form>
Second page should look like this:
<form action="three.php" method="post">
<input type="hidden" name="firstq" value="<?php echo $_POST['answer']; ?>">
What is Firefox<br><br>
<input type="radio" name="answer" value="1">Image tool <br>
<input type="radio" name="answer" value="2">Web browser <br>
<input type="radio" name="answer" value="3">Email client<br>
<input type="submit" value="Next question">
</form>
Third page should look like this:
<form action="result.php" method="post">
<input type="hidden" name="firstq" value="<?php echo $_POST['firstq']; ?>">
<input type="hidden" name="secondq" value="<?php echo $_POST['answer']; ?>">
What is IE?<br><br>
<input type="radio" name="answer" value="1">Image tool <br>
<input type="radio" name="answer" value="2">Web browser <br>
<input type="radio" name="answer" value="3">Email client<br>
<input type="submit" value="Next question">
</form>
And the result should be somthing like this:
<?php
echo $_POST[firstq]."<br>".$_POST[secondq]."<br>".$_POST[answer];
?>
Remember that this is only echoing the answer number,not the score.But this could help you to create quiz script.

#31 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 08 December 2009 - 08:00 AM

php script quizPhp Quiz Script

It's awesome!/txtmngr/images/smileys/smiley16.Gif 

I think for guys that without programming skills, this willl be much complex. To delight, many free online quiz making service can help us make nice quiz and get embed codes for your website or blog.  Here are some guidance to make quizzes for your website for guys that who want to make quizzes whether you have programming skills or not.

-reply by sare

#32 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 03 March 2010 - 09:25 PM

Making a multi-page quizPhp Quiz Script

Thanks for the quiz script, its great!

I'm wondering how to convert it into a two page quiz…

Page 1 would have 10 questions, page 2 would have 10 questions and then page 3 would be the results.

How do I make a "next page" button on page 1 that will also submit the selected answers to appear on page 3?

-reply by Kathryn

#33 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 20 March 2010 - 12:06 PM

 
thanks all ones,
TheDarkHacker, good job.

it give me a start mind to create a quiz show.



#34 2010stephencook

    Newbie

  • Kontributors
  • Pip
  • 2 posts
  • Gender:Male
  • Location:India
  • Interests:Traveling, Sports, Internet and SEO.

Posted 21 June 2010 - 03:26 AM

it's good to find the many of my needed information here. Thanks for the tips! really

#35 annyphp

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 34 posts

Posted 31 December 2010 - 12:38 AM

More php test script you can check out at PHPKode.com




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users