PHP Quiz Source Code
Just a quick heads up to let you know that you can now download all of the source code for the PHP Quiz. This might make it easier for you to get up and running without trying to follow all of the series. I’ve also included the small amount of JavaScript too.
You can download it here PHP Quiz (11.21 KB) . I’ll also put a download link at the top of each post in the series.
Cheers,
ElanMan


Hello. Thanks for your good work. I have question. How to display users choice in the end of quiz? Right now script displays only correct answers. I wont to display in red color my answers, and in blue correct answers. How can i do that?
And i have second question. How to display more then one quiz? I wont to have more then one quiz in my site. Right now i have leaderboard only for one quiz, and i wont to have for more. Please help my with that.
Hi Ahmed,
the quiz should display the user’s choices at the end on the results.php page. Have a look at the working example.
As for having multiple quizes on a site, I’m currently working on a new quiz script that will make this sort of thing much easier to achieve and will alsao work with mysql, which a lot of people have requested.
Stay tuned
hehe by (Woops!) on results page
I didn’t saw that before. So that problem no longer exist. But i have another question. When you exactly planning to release that new script?