<?php

session_start();

if(isset($_SESSION['number']))
{
   $number = $_SESSION['number'];
}
else
{
   $_SESSION['number'] = rand(1,10);
}


if(isset($_POST[])){
	if($_POST[]){
	    $guess  = htmlspecialchars($_POST['guess']);

		echo $guess . ;
	    if ($guess != $number)
		{ 
	        echo ;
	    }
		elseif($guess == $number)
		{
	        echo ;
	    }
	} 
}
?>

<!DOCTYPE html PUBLIC  >
<html xmlns=>
	<head>
		<meta http-equiv= content= />
		<title>Guess A Number</title>
	</head>

	<body>
		<form action= method= name=>
		    <label for=>Guess number:</label><br/ >
		    <input type= name= />
		    <input name= type= value= />
		    <input name= type= />
		</form>
	</body>
</html>