Login form is not working
<p>It gives the wrong result. I use Dreamweaver and i just started to learn PHP i find it very hard to debug.</p>

<pre><code>&lt;/html&gt;
&lt;head&gt;
&lt;title&gt;Login Form&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;fieldset&gt;&lt;legend&gt;Login&lt;/legend&gt;
&lt;form action="login.php" method="post" /&gt;&lt;br/&gt;
Username&lt;input type="text" name="User" /&gt;&lt;br/&gt;
Password&lt;input type="password" name="Pass" /&gt;&lt;br/&gt;
&lt;input type="submit" value="submit" /&gt;
&lt;input type="reset" value="clear"/&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;





&lt;?php
$_user=$_POST["user"];
$_pass=$_POST["pass"];
if(($user=="hamza")&amp;&amp;($pass=="2"))
echo "Access Granted";
else echo "access denied";
?&gt;
</code></pre>
