Quiz Design using php, javascript and ajax
Posted: Mon Feb 21, 2011 6:10 pm
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!!
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!!