PHP dropdown help
Hi, I am not a programmer, just trying to fix something on my own website and hoping someone can help.
There is a dropdown menu on my administrator tool for the year. (Just to explain, I add press credits to my website by Month/Year. I pick the Month and Year from dropdowns but it was set so that I can't go to years prior and I need to add some 2009 press.) I think I found the code for this but not sure what to change. I am pasting it below, to see if it is really a simple fix if someone can advise. I included the picture of the dropdown from my admin in case its not clear what i'm talking about.
There is tons of other code but when I click on year, the following is highlighted so I assumed that was the related code.
Please use simple instructions as I really have no experience with this!
Thank you!
</select> <select name="year"><?
for($i=date("Y");$i<2030;$i++){
echo '<option value="'.$i.'">'.$i.'</option>';
}
?>
