Re: [PHP-DB] Values for Popdownmenu (Categorie and Subcategorie) from MySQL
if you want to got the jscript route, try something like this http://www.a1javascripts.com/site_navigation/doublecombo/doublecombo.html then just figure how you want to insert the variables. shouldn't be too hard, just match things up from the working script to the new one. olinux - Original Message - From: "Denis Mettler" [EMAIL PROTECTED] Hi there, I would like to create a form which gets it's values out of a Database and 2 Tables: MainCat: MC_ID MC_Name SubCat: SC_ID MC_ID SC_Name I know how i can fill the values in the first popdownmenu, but i don't know how to handle the second one withe the chosen value from the first. Can anybody help me? -- Best Regards / Beste Gruesse Denis Mettler http://www.denis-mettler.de -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Values for Popdownmenu (Categorie and Subcategorie) from MySQL
At 01:51 AM 4/20/2001 +0200, Denis Mettler wrote: I know how i can fill the values in the first popdownmenu, but i don't know how to handle the second one withe the chosen value from the first. If you mean that you want a selection in the first drop down list to automagically trigger a change in a second drop down list your *only* options are to either use Javascript (yuck) or to make this a two step process (i.e. select from the first list, submit form, generate second list). I personally would recommend the second option since you probably have no guarantee that Javascript will be enabled and you will have to perform the sanity checking anyways. Cheers, Ron - Island Net AMT Solutions Group Inc. Telephone: 250 383-0096 1412 Quadra Toll Free:1 800 331-3055 Victoria, B.C. Fax:250 383-6698 V8W 2L1 E-Mail:[EMAIL PROTECTED] Canada WWW: http://www.islandnet.com/ - -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]