$_POST[] not working in php
<p>I've started learning PHP. Managed to setup things.</p>

<p>I'm using php version 5.3.13.</p>

<p>I'm trying to post some info to a html form and receive it in a php file.</p>

<p>For the purpose i'm using $_Post variable and the ouput at the php file is blank.</p>

<p>Below is the html code. </p>

<pre><code>&lt;body&gt;
        &lt;form action="report.php" method="POST" &gt;    
            &lt;label for="firstname"&gt;First name:&lt;/label&gt;
            &lt;input type="text" id="firstname" name="firstname" /&gt;&lt;br /&gt;
            &lt;input type="submit" value="Report Abduction" name="submit" /&gt;
        &lt;/form&gt;
&lt;/body&gt;
</code></pre>

<p>And below is the report.php code</p>

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

&lt;?php
     $name = $_POST['firstname'] ; 
         print($name);
?&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Can any one advise what i'm missing ?</p>

<p>Thanks</p>
