I'm fairly new to php but am hoping someone here can point me in a usable direction? Here's what I need to do:
A site I'm building in Wordpress presents some information and then has a short, 5 multiple choice question quiz which is presented on a password protected page. There's a question and then 5 possible answers, followed by a question, etc.
This is what I need to be able to do once all the questions have been answered:
1. check the user's answers against the correct answers to the questions;
2. tally a score for the quiz;
3. submit the quiz results to the site administrator;
4. upon submit, let the user know their score.
If they had a passing score, they'll be directed to a page where they print out a Certificate of Completion; if they failed to achieve a passing score they'll receive a different message, i.e, when they can retake the quiz, or something of that nature.
This sounds like it should be fairly simple and straight forward, but I'm at a loss where to begin. I've written the html for the form. Can someone point me to some information that might help. Also, any gotchas to look out for?
Thanks very much,
Bill