This class can be used to create form select inputs from MySQL database query results, similar to ASP.NET listbox control.
The class can execute a given MySQL dquery that extracts the option names and the respective values. Then it generates a form select input with the given values. A given value can be displayed as the initially selected value.
Optionally, the class may also generate the necessary Javascript code to make the form of the input be automatically submitted when the user changes the input value.