Login   Register  
PHP Classes
elePHPant
Icontem

Database Combo Box: Generate form select inputs from database queries

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-07-05 (1 year ago) RSS 2.0 feedStarStarStar 47%Total: 371 This week: 2All time: 6,048 This week: 909Up
Version License PHP version Categories  
db-combo-box 1.0BSD License5HTML, PHP 5, Databases
Description Author  

This is a simple class that can generate form select inputs from database queries.

It can connect to a given MySQL server and execute SQL SELECT query to retrieve the values of two given fields of a certain table that match a given condition.

The class can generate HTML for a form select input that presents options with values and titles taken from the two fields returned in the query results.

Picture of mohammad keramatifar
Name: mohammad keramatifar <contact>
Classes: 3 packages by
Country: Iran Iran
Age: ???
All time rank: 121511 in Iran Iran
Week rank: 186 Up3 in Iran Iran Up

Screenshots  
  • dbComboBox.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file categories.sql Data Database Table Sample
Plain text file class.dbComboBox.php Class main dbComboBox class
Accessible without login Plain text file Example.php Example Example of Usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:371All time:6,048
 This week:2This week:909Up
User Ratings User Comments (2)  
 All time
Utility:68%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:1771