PHP Classes
elePHPant
Icontem

Cascade Select Associative: Generate two dependent HTML form select inputs

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-02-08 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,133 All time: 3,207 This week: 1,043Up
Version License Categories
cascadeselectassoc 1.0GNU General Publi...HTML, Databases
Description Author

This class generates two HTML form select type inputs making the currently selected value on the first input determine the option values that are made available on the second.

It is an enhanced version of the original class developed by Vedanta Barooah. It provides means to the define the list of dependent option values as associative arrays.

It also can define the list of options using SQL queries to a PostgreSQL database using the PEAR::DB package.

Picture of Roberto Andrade Fonseca
Name: Roberto Andrade Fonseca <contact>
Classes: 1 package by
Country: Mexico Mexico

  Files folder image Files  
File Role Description
Plain text file cascadeSelectAssoc.php Class Main class file
Accessible without login Plain text file csa_db_example.php Example Database example from two related tables in a RDBMS
Accessible without login HTML file csa_doc.html Doc. Documentation
Accessible without login Plain text file csa_example.php Example Simple example with associative arrays
Accessible without login Plain text file csa_test_data.sql Data SQL script to create and populate a test database for cascadeSelectAssoc
Accessible without login Plain text file pgsqlCascadeSelectAssoc.php Example PostgreSQL and PEAR DB functions to retrieve the data as associative arrays

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,133
This week:0
All time:3,207
This week:1,043Up