how to remember the selected value of selected box
<p>How can I 'remember' the selected value of drop down box on submit (using php), For example, once the form is posted on the same page, i want to show the selected value as selected in the selectbox. How can I do that?</p>

<pre><code>&lt;form  name="date" method="post" action="&lt;?=$PHP_SELF?&gt;"&gt;

&lt;select name="year" &gt;
&lt;option value="0"&gt;Year&lt;/option&gt;
&lt;option value="2003"&gt;2003&lt;/option&gt;
&lt;option value="2004"&gt;2004&lt;/option&gt;
&lt;option value="2005"&gt;2005&lt;/option&gt;
&lt;option value="2006"&gt;2006&lt;/option&gt;
&lt;option value="2007"&gt;2007&lt;/option&gt;
&lt;/select&gt;

&lt;input  type="submit" value="Send" name="send" /&gt;   
&lt;/form&gt;
</code></pre>
