HERE;
function checkNo(){
global $noThought, $noGuessed, $noTurns;
if ($noGuessed == $noThought){
print "That is correct!! Well Done.
";
if ($noTurns == 1) {
print "Amazing! You got it first time!!
";
} else {
print "Well done. You took $noTurns turns.
";
} //end if
$noTurns = "";
print "Click here to play again
";
exit();
} else {
if ($noGuessed < $noThought){
$noStatus = "low";
} else {
$noStatus = "high";
}
print "That's not the number I though of. You are too $noStatus
";
print "Please try again:
";
} // end if
} //end function
?>