Page 1 of 1

Quiz Design using php, javascript and ajax

Posted: Mon Feb 21, 2011 6:10 pm
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!!

Re: Quiz Design using php, javascript and ajax

Posted: Tue Feb 22, 2011 12:54 am
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.