Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: PHP Quiz system

  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    310
    Thanks
    23
    Thanked 0 Times in 0 Posts

    PHP Quiz system

    Suppose you want to create a PHP quiz system, what are the process you have to do to achieve it? Here are the main requirements below:

    1/ The questions, answers and scores will be stored in database
    2/ There will be 100 questions and only 20 RANDOM questions among them will be displayed.

    I want to know, how process the quiz? I am not asking you to code it for me, but want to know, how to which answer is for this question etc as it is in database, and random.

    Thank

  • #2
    Regular Coder
    Join Date
    Mar 2012
    Posts
    168
    Thanks
    5
    Thanked 11 Times in 11 Posts
    You could do something like set the input id to the questionID and then when submitted compare the submission to the answerID.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •