RE: [PHP] Menu populated based on previous menu

From: Date: Tue, 28 Oct 2003 18:31:07 +0000
Subject: RE: [PHP] Menu populated based on previous menu
Groups: php.general 
Request: Send a blank email to php-general+get-167907@lists.php.net to get a copy of this message
You may want to look at the following article: http://www.zend.com/zend/tut/drop-down.php Luis -----Original Message----- From: Robb Kerr [mailto:rkerr@digitaliguana.com] Sent: Tuesday, October 28, 2003 9:46 AM To: php-general@lists.php.net Subject: [PHP] Menu populated based on previous menu Searched all the sites I could find for this problem to no avail. I have two dropdown menus in a form. The first menu contains a list of MANUFACTURERS obtained from a database. The second contains a list of MODELS also obtained from the database. I want the second menu to be populated based upon the selection in the first. In other words, once a visitor has selected a MANUFACTURER they'll be presented with a list of MODELS that are available from the selected MANUFACTURER. I know how to do the queries, but don't know how to initiate the query and rebuild the second menu when the first selection is made without adding a SUBMIT button and loading a second page. Anyone know how to accomplish this? Thanx in advance. -- Robb Kerr Digital IGUANA Helping Digital Artists Achieve their Dreams http://www.digitaliguana.com http://www.cancerreallysucks.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#167907) next »