PHP Classes
elePHPant
Icontem

Combo Box: Generate HTML form select inputs from MySQL data

Recommend this page to a friend!

  Author Author  
Picture of Mumi Mania
Name: Mumi Mania <contact>
Classes: 1 package by
Country: Serbia and Montenegro Serbia and Montenegro


  Detailed description   Download Download .zip .tar.gz  
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

  Classes of Mumi Mania  >  Combo Box  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Combo Box
Base name: select
Description: Generate HTML form select inputs from MySQL data
Version: -
PHP version: -
License: Freely Distributable
 
  Groups   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Accessible without login Plain text file combo_box.conf.php Conf. config
Accessible without login Plain text file combo_box.example.php Example example
Plain text file combo_box.php Class class

Download Download all files: select.tar.gz select.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.