Hello, on 01/05/2006 05:30 AM Bhavin Shah said the following: > Hello All PHP Experts, > This is Bhavin Shah, inneed of help from your end, I > am designing a form, in which i am having two Drop > down box, Value of Second Drop Down is dependent on > first. For Example, if we sign in any mail A/C, we > find Country and State. The Value of State is > dependent on the Value of Country. If any One can > provide me with the small help. > the Database > Table[Country] : CountryId, CountryName; > Table[State] : stateid, countryId, StateName; This forms generation class has a plug-in that does exactly that. It can generate several linked select inputs with groups of options defined by the option selected in a linked input. It can preload all groups of options or load the new groups of options dynamically using AJAX. It supports retrieving options from MySQL or many other types of databases. Here is a example page: http://www.phpclasses.org/browse/view/html/file/9879/name/test_linked_select_page.html The class and the plug-ins are available here: http://www.phpclasses.org/formsgeneration -- 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/ PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/