'; echo ''; $color = $_POST['color']; $query = $_POST['question']; $answer = $_POST['answer']; if ($color != null) { echo '

Deireadh...

'; if ($color == $answer) { echo "Sin ceart! Maith thú a chara."; echo "

" . $query . " them -> " . $answer; } else { echo "Sin mícheart, déan iarracht arís a chara!"; echo "

" . $query . " == " . $answer; } } } else { echo ''; $items = Array("at", "on", "with", "to", "off", "under", "from", "in"); $entries = Array("acu", "orthu", "leo", "dóibh", "diobh", "fúthu", "uathu", "iontu"); $idx = rand(0, 7); echo '

Third person plural

'; $query = $items[$idx]; $result = $entries[$idx]; echo '

Translate: ' . $query; echo ' them'; echo '
'; echo '

'; echo ''; echo ''; echo file_get_contents("form.txt"); } ?>