PHP Classes

SQL Dropdown: Generate HTML select input from MySQL query result

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 328 All time: 7,151 This week: 347Up
Version License PHP version Categories
sql_dropdown 1.0GNU General Publi...3.0HTML, Databases


This class can be used to generate an HTML select input from MySQL query results.

It takes a given SQL query and executes it to retrieve the values and labels for displaying an HTML select input.

The select input name, default option and Javascript code are configurable options.

Picture of Michael Munger
Name: Michael Munger <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 3745494 in United States United States
Week rank: 371 Up40 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file Class dropdown.class.php

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,151
This week:347Up