Where the PHP $_GET superglobal can be used
<p>Can the PHP superglobal $_GET be used and work as intended outside of the form tags? For example, can I do $_GET('select box id') outside of the form tags and have it work as intended?</p>

<pre><code>&lt;?php
    ---Placeholder for DB login info---

    switch($_GET['select box id'])
    {
        case "text shown for second option of select box":
        $query = mysql_query("placeholder for actual query");
        $row = mysql_fetch_row($query);
        $textboxValue = $row[0];
        break;
    }      
?&gt;
</code></pre>
