problem with output of this code
<p>i wrote this code.
in this code we user guess a number then program checked the number with the number that i gite to it and print appropriates message.
 when i start program it shows welcome that is true but when i entered number in it always it shows little in output but it isn't true.</p>

<pre><code>   $val = '42';
$gues ;
if(!isset($gues))
$mess =  "welcome&lt;br&gt;";
elseif($gues &gt; $val)
$mess =  "bigr&lt;br&gt;";
elseif($gues &lt; $val)
$mess =  "little&lt;br&gt;";
else
$mess =  "win&lt;br&gt;";

$gues = @(int) $gues;



?&gt;
&lt;html&gt;
&lt;head&gt;&lt;title&gt;bazi riazi&lt;/title&gt;&lt;/head&gt; 
&lt;body&gt;
&lt;h1&gt;
&lt;?php print $mess;
?&gt;
&lt;/h1&gt;
&lt;form method="POST"&gt;
type you gues here:&lt;input type="text" name='gues'&gt;
&lt;/form&gt;


&lt;/body&gt;
&lt;/html&gt;
</code></pre>
