Re: Two dynamic select lists

From: Date: Mon, 20 Mar 2006 15:04:48 +0000
Subject: Re: Two dynamic select lists
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26773@lists.php.net to get a copy of this message
Hello, on 03/20/2006 09:52 AM Alf Stockton said the following: > I am attempting to write an HTML/PHP that contains two select list and I > don't have a problem with the select lists as such. > What I need to do is only display in the 2nd list data that is pertinent > to what was selected in the 1st list. > Does anyone have an example of how to achieve this please? This forms generation class comes with a plug-in that lets you implement exactly what you want: http://www.phpclasses.org/formsgeneration Here are examples of the class in action: http://www.phpclasses.org/browse/view/html/file/9879/name/test_linked_select_page.html http://www.phpclasses.org/mirrors.html It can also work dynamically and retrieve alternative groups of options from a database using AJAX to avoid page reloading. -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/

« previous php.windows (#26773) next »