PHP Post Variable Problem
<p>It's been a little while with PHP, so please excuse my ignorance. I have this web page:</p>

<pre><code>&lt;?php
mysql_connect ("localhost", "user", "pass");
mysql_select_db ("expiration");

if (isset ($_REQUEST['new_expire']) &amp;&amp; $_REQUEST['new_expire'] != "") {
    $insert_query = "INSERT INTO files (path, expires) VALUES ('";
    $insert_query .= $_REQUEST['new_path'];
    $insert_query .= "', '";
    $insert_query .= $_REQUEST['new_expire'];
    $insert_query .= "');";
    mysql_query ($insert_query);
}
?&gt;
&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;
    &lt;?php echo print_r $_REQUEST; ?&gt;
    &lt;form action="index.php" method="POST"&gt;
        &lt;p&gt;Add New Expiration&lt;/p&gt;
        &lt;table&gt;
            &lt;tr&gt;
                &lt;td align="right"&gt;
                    Select File:
                &lt;/td&gt;
                &lt;td&gt;
                    &lt;select id="new_path"&gt;
                        &lt;?php $options = buildOptions (); echo $options; ?&gt;
                    &lt;/select&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td align="right"&gt;
                    MySQL Expire Time:
                &lt;/td&gt;
                &lt;td&gt;
                    &lt;input type="text" id="new_expire" /&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;&lt;/td&gt;
                &lt;td&gt;
                    &lt;input type="submit" value="Save" /&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;?php
mysql_close ();
?&gt;
</code></pre>

<p>When I load the page, the result of the <code>print_r</code> is an empty array. When I submit the form, it's still empty. I get no new record in the database. Any ideas?</p>
