";
break;
case "3" : // question 2
$score = $_REQUEST['score'];
$content = "
";
break;
case "3a" : // answer 2
$response = ($_REQUEST['options'] == 'option3') ? "Correct" : "Incorrect";
$score = ($_REQUEST['options'] == 'option3') ? $_REQUEST['score'] + 1 : $_REQUEST['score'];
$content = "
";
break;
case "4" : // question 3
$score = $_REQUEST['score'];
$content = "
";
break;
case "4a" : // answer 3
$response = ($_REQUEST['options'] == 'option2') ? "Correct" : "Incorrect";
$score = ($_REQUEST['options'] == 'option2') ? $_REQUEST['score'] + 1 : $_REQUEST['score'];
$content = "
";
break;
case "5" : // question 4
$score = $_REQUEST['score'];
$content = "
";
break;
case "5a" : // answer 4
$response = ($_REQUEST['options'] == 'option4') ? "Correct" : "Incorrect";
$score = ($_REQUEST['options'] == 'option4') ? $_REQUEST['score'] + 1 : $_REQUEST['score'];
$content = "
";
break;
case "6" : // question 5
$score = $_REQUEST['score'];
$content = "
";
break;
case "6a" : // answer 5
$response = ($_REQUEST['options'] == 'option3') ? "Correct" : "Incorrect";
$score = ($_REQUEST['options'] == 'option3') ? $_REQUEST['score'] + 1 : $_REQUEST['score'];
$content = "
";
break;
case "final" : // last screen
$judgment = ($_REQUEST['score'] <3) ? "hmm, tough quiz, eh?" : "good going!";
$content = "
";
break;
}
$template = "