Dropdown reload page then retrieve value
<p>Hello so far been trying to use this line of code my goal is to reload the page via 
select then the select gets the value so the page will reload with the said value so
i may be able to retrieve it.
Both of these are in 1 form.
This is where i should get my value to be used once reloaded.</p>

<pre><code>    &lt;input type="hidden" name="student_id" class="typed" readonly="readonly" value="&lt;?php echo @$get_display-&gt;student_id;?&gt;"&gt;
</code></pre>

<p>And this is what I'm trying to use to reload the page at get the value above.</p>

<pre><code>    &lt;select name="lvl" onchange="window.location='search_enroll.php?id='$_GET['student_id']"&gt;
</code></pre>

<p>Any help is appreciated thank you.</p>

<p>this is how i retrieve i have a problem in my last statement it is suppose to retrieve 
the value once reloaded.</p>

<pre><code>   if (!empty($_POST['searchstudent'])){
                $id = $_POST['searchstudent'];

            }else if(!empty($_GET['id'])){
                $id = $_GET['id'];
            }
            else {
                $id= $_GET['student_id'];
            }
</code></pre>
