Quiz Design using php, javascript and ajax

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
gamebit07
Forum Newbie
Posts: 4
Joined: Mon Feb 21, 2011 5:20 pm

Quiz Design using php, javascript and ajax

Post by gamebit07 »

I am a newbit, a hobbyist programer.
I have to design a quiz application.
I have already made the mysql databse, with 6 fields id,Question,4 options, and answer.

The functionalities I wish to introduce:

Total Duration : 5 minutes (a timer to display on the top right corner)
{possible implemenation AJAX}

Questions to be displayed one at a time, and till the time limit exceeds.
Followed by question I have 4 option and a button, that takes in the selection and brings in the next question.
In short I want to replicate :
http://www.w3schools.com/quiztest/quizt ... ?qtest=PHP
Please suggest the tools to be used.

What I tried was connected to the mysql database through php, generated 10 random questions from mysql set. Display them 10 at a time. Unable to display one at a time and move on to the next using the Button.

Please help thanks in advance!!
gamebit07
Forum Newbie
Posts: 4
Joined: Mon Feb 21, 2011 5:20 pm

Re: Quiz Design using php, javascript and ajax

Post by gamebit07 »

by the way i have iplemented the timer, please let me know how to go about other features.
Could any one throw light in using html5 for the above purpose, with evaluation of form at the client side itself.

Thanks in advance.
Post Reply