Incorrect!
";
if ($answer == $useranswer) {
$_SESSION["correct"]++;
$right = "
Correct!
";
}
}
$correct = "You have gotten " . $_SESSION["correct"] . " of ". $_SESSION["num"] . " correct. " . round($_SESSION["correct"] / $_SESSION["num"] * 100, 2) . "%";
round($_SESSION["correct"] / $_SESSION["num"] * 100, 2) . "%";
$questionid = $_SESSION["list"][$_SESSION["num"]];
$_SESSION["num"]++;
$query = "select * from `trivia` where `id` = '$questionid';";
$result = mysql_query($query);
$id = mysql_result($result,0,'id');
$question = mysql_result($result,0,'question');
$answer = mysql_result($result,0,'answer');
$aa = mysql_result($result,0,'aa');
$ab = mysql_result($result,0,'ab');
$ac = mysql_result($result,0,'ac');
//echo "The ID is $id, the question is $question, answer a $aa, answer b $ab, answer c $ac, the correct answer $answer, session refresh $_SESSION["num"]
";
?>
Multi Trivia - Mobile
Multiple Choice Trivia for your Mobile!
Macroflower Mobile
Marcophotography backgrounds for your mobile phone!
Chromesphere Mobile
Backgrounds for 3d mobile phone backgrounds!
Question:
Answer:
There are currently
questions in our database