Hi, I created a PHP Quiz using the tutorial at http://css-tricks.com/building-a-simple-quiz/ I need to get the quiz results emailed to me and the user, and graded. It already grades the quiz and displays a score. I'm really a beginner so I don't know how to get the results emailed. Someone suggested using the mail() function, with a link to this page, http://php.net/manual/en/function.mail.php, but I don't know how to use it at all. Could someone please give me detailed instructions - not just a link please. Help would be greatly appreciated! Here is the code for my quiz:
<h3>In the KRUSTY TOWERS episode, what does Patrick say after Squidward says 'How can you have bags when you just found out this is a hotel?'</h3>
<div> <input type="radio" name="question-1-answers" id="question-1-answers-A" value="A" /> <label for="question-1-answers-A">A) This is a hotel?</label> </div>
<div> <input type="radio" name="question-1-answers" id="question-1-answers-B" value="B" /> <label for="question-1-answers-B">B) I just got them</label> .</div>
I created a PHP Quiz using the tutorial at http://css-tricks.com/building-a-simple-quiz/
I need to get the quiz results emailed to me and the user, and graded. It already grades the quiz and displays a score.
I'm really a beginner so I don't know how to get the results emailed. Someone suggested using the mail() function, with a link to this page, http://php.net/manual/en/function.mail.php, but I don't know how to use it at all. Could someone please give me detailed instructions - not just a link please.
Help would be greatly appreciated!
Here is the code for my quiz: