PHP $_POST and id only, no name
<p>Can someone please explain this to me?</p>

<p>I have the following code:</p>

<pre><code>&lt;form action="&lt;?php echo $_SERVER['PHP_SELF']; ?&gt;" method="post"&gt;
 &lt;input type="text" id="testField" /&gt;
 &lt;input type="submit"&gt;
&lt;/form&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;
 &lt;?php print_r($_POST); ?&gt;
&lt;/pre&gt;
</code></pre>

<p>This works fine on my main dev box, and on the server.  However, I'm having to work remotely on my laptop at the moment.  I've installed the exact same WAMPServer 2.1a build as on my dev setup, and the $_POST array is empty.</p>

<p>If I declare the field like:</p>

<pre><code>&lt;input type="text" name="testField" /&gt;
</code></pre>

<p>I get the expected output.</p>
