"; $id = $row["id"]; $terms = explode(" ", htmlspecialchars($row["terms"])); echo '
'; echo '
'; if (isset($_GET["id"]) AND is_numeric($_GET["id"])) { echo ''; } echo ' '.$_SESSION["nr"].' / 24

Select the word that does not fit with the other words:

'; shuffle($terms); for ($i=0;$i'.$terms[$i] . " "; } echo '
'; } else { $result = mysqli_query($conn," select avg(term=5) as avg FROM userVote WHERE id = ".$_SESSION["id"]."; "); $counter = 0; if ($row = mysqli_fetch_array($result)) { $counter = doubleval($row["avg"]) * 100; } echo '

You completed the game.
Your score is '.$counter.'%.

play again!
'; } ?>