Create login.php

ok so in this code the first drop down is hard coded with the year value however the second drop down pulls the stream information from the database. To do this:
1. In the head establish a connection to your data base.
2. the drop down remains a <select/>
3. inside the select use a php query to pull the information from the database
4. use a while loop to pull entries sequentially from the table
5. echo the result between the <option><option> to enter it in the table
6. close the established connection to the database
*note1: here the last fetch pulls the ALL value from the table which i did not want thats why I included the if statment so I could exit the loop before the value is written to the select option.  
*note2: check using the entry file, to see how to safely use the entered information to query the database with posted information.