I'd like to write a script that will create drop down lists (HTML selects) in HTML based on information stored in a database. In my db table i have 2 columns (option name and value) and there are 10 rows. the value column holds either a '0' or '1' which will determine wether or not 'on' or 'off' is selected in the html select fields. Can you guys help me out?