This is the code I have tried, I hope you can see what it is that I am trying to acheive. I have left out unessecary parts of the code such as table structure and the entire options list.
Code: Select all
<select name="day" value="<?php if($_POST['day']!="00"){echo $_POST['day'];}?>">
<option value ="00">Day</option>
<option value ="01">1</option>
<option value ="02">2</option>
<option value ="03">3</option>
</select>
<select name="month" value="<?php if($_POST['month']!="00"){echo $_POST['month'];}?>">
<option value ="00">Month</option>
<option value ="01">January</option>
<option value ="02">February</option>
</select>
<select name="year" value="<?php if($_POST['year']!="00"){echo $_POST['year'];}?>">
<option value ="00">Year</option>
<option value ="1950">1950</option>
<option value ="1951">1951</option>
<option value ="1952">1952</option>
</select>