Hello

I need to build a php/mysql quiz here is how it should work:

There is a quiz lets say site.com/quiz.php. A user fills in a quiz (answers are radio buttons yes and no) and other person (that first person had selected) should fill the second quiz. And later the script will compare these two persons answers.

I am wondering how i should create a unique quiz for second person? Maie after one person had filled in a quiz and clicked the submit button script should generate a unique quiz id for the second person for example site.com/quiz.php?1321 i dont really know because i am a newbie 🙂

Could you please suggest me how to do this and help me with mysql table structure of this thing 🙂

    Start by reading some decent php+mysql tutorial (look for passing GET variables and mysql usage). Use google to find what you want. If you start writing your script and have some trouble - return here for help. For the record, <?php ?> doesn't count as a point when you can ask "Now what?". 😉

      wilku wrote:

      Start by reading some decent php+mysql tutorial (look for passing GET variables and mysql usage). Use google to find what you want. If you start writing your script and have some trouble - return here for help. For the record, <?php ?> doesn't count as a point when you can ask "Now what?". 😉

      Im not that horrible at PHP 🙂 i know the basics. That bolded line really helped me because i didnt know how to search for that on google. ty :p

        Write a Reply...