Login   Register  
PHP Classes
elePHPant
Icontem

Cascade Select Associative: Generate two dependent HTML form select inputs

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,122 This week: 1All time: 3,106 This week: 1,364Up
Version License Categories  
cascadeselectassoc 1.0GNU General Public Lice...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
Age: 63
All time rank: 201320 in Mexico Mexico
Week rank: 1060 Up13 in Mexico Mexico Up

  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,122All time:3,106
 This week:1This week:1,364Up