TriviaPro Work In Progress

This script relies on a flat-file of trivia questions, which contains the values shown in the table below. It will create a random quiz each time it is run, depending on the user's selections in the demo below. Scores and quiz types are kept live as well for a "brag-board". This script can be customized in a *lot* of different directions, so feel free to ask for a quote with your own ideas inserted.

There is also a maintenance script that is not shown here for adding and removing questions. Once installed, TriviaPro can be maintained by someone with zero PERL/CGI skills.

Question numberCategoryDifficulty LevelScore ValueSubmitted ByQuestionAnswerWrong answer 1Wrong answer 2Wrong answer 3Wrong answer 4

So, a typical line in the trivia file will look like this:

1|singers|2|5|Marc Bissonnette|Which band member of AC/DC wears a school uniform on stage?|Angus Young|Ozzy Osbourne|Brian Adams|Johnny Cash|Alvin The Chipmunk

You can see what the trivia file looks like here. TriviaPro will display this to you in an HTML Table format, for ease of viewing.

You will notice five additional fields in the records, "field1" through "field5". These are there for expansion or further functionality purposes.


Below is an example of the trivia script running with full functionality:

Please choose your trivia preferances. Your quiz will be dynamically generated based on these selections (And will be different every time, even with the same choices!)
Select the category of questions you would like to answer:
Select your difficulty level:
Select the number of questions in your quiz:

TriviaPro is a great way to add an interactive component to your website. By posting the user's scores, you give them a reason to keep coming back to your site to make sure they're in the top scoring position. As you know, repeat traffic is what your sponsors and advertisers want to see in your web traffic stats.