Submitting a form with every field the same name
<p>Okay, so I learned that if I have a form like:</p>

<pre><code>&lt;form method="post" action="arrayplay2.php"&gt;
&lt;input type="checkbox" value="1" name="todelete[]"/&gt;
&lt;input type="checkbox" value="2" name="todelete[]"/&gt;
&lt;input type="checkbox" value="3" name="todelete[]"/&gt;
&lt;input type="checkbox" value="4" name="todelete[]"/&gt;
&lt;input type="submit" value="delete" name="delete"/&gt;
&lt;/form&gt;
</code></pre>

<p>that the attribute name="todelete[]" initiates an array. How? And then how do I access this and the values in each one with the $_POST superglobal on my arrayplay2.php script?</p>
