Menu
hello all, I am trying to the score but it is not coming up. Any help would be great
[code=php]
for($i = 0; $i < $_REQUEST[“answer”.$i]; $i++)
{
if($queryResult == $_REQUEST[“answer”.$i])
{
echo “<input type = “radio” name = “correct” id =
“correct” checked />”;
$totalScore += 20;
}
else
{
echo “<input type = “radio” name = “incorrect”
id = “incorrect” />”;
$totalScore += 0;
}
}