This is a simple class for generating HTML form select inputs with options defined from data retrieved from a MySQL database table.
The class takes the name of the select input and the name of a MySQL table to query as required parameters.
The class generates a form select input using the value of the first column of the query result as input option value and the value of the second column as the option text.
Optionally, the class may also take as parameters:
- Name of the table field to sort the query
- Sorting ascending or descending criteria
- CSS class name to define the presentation details of the input field
- Value of the option to selected by default
|
Name: |
Combo Box |
Base name: |
select |
Description: |
Generate HTML form select inputs from MySQL data |
Version: |
- |
PHP version: |
- |
License: |
Freely Distributable |
|
|
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|