I am a beginning php and i have encountered a wierd thing
<p>I have written the following html and php file</p>

<p>html file:</p>

<pre><code>    &lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;link rel="stylesheet"href="main.css"&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;span&gt;
&lt;/span&gt;
&lt;form id="login"action="login.php"method="post"&gt;
&lt;input type="text"name="user"&gt;
&lt;input type="submit"value="submit"&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>php file : </p>

<pre><code>&lt;?php
if(isset($_POST[‘user’]))
{
echo 'true';
}
else
{
echo "false";
}
?&gt;
</code></pre>

<p>Please help even if there is a value it shows false.I dont know why.Thanks all help appreciated</p>
