Form processing $_POST to variables automatically
<p>I have about 40 items in my <code>FORM</code> and i'm trying to give all the <code>Name=</code> properties a variable for process without having to write each out manually. am I missing something here, cause the code below is not working. (name="comp1", name="comp2"... $comp1, $comp2)</p>

<pre><code>$en = array_merge($em, $_POST);
$valid = true; 
foreach($_POST as $value) { 
    if(!isset($value)) { 
        $valid = false;
    } 
}
</code></pre>
