Do you want the page to submit with each choice? i.e. in the beginning, the first drop down is populated and the other two aren't. when a choice is made in the first box, the form is submitted and PHP populates the second, etc...
If you don't want it to submit, then all PHP can do is write some javascript arrays to be evaluated when the page is loaded in the browser. It can't do anything after that point. ---John Holmes... > -----Original Message----- > From: Lazor, Ed [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 07, 2002 5:41 PM > To: '[EMAIL PROTECTED]' > Subject: [PHP] dynamic pull-down menus? > > Does anyone know how to create a web page with more than 2 selection > fields > that Interact? > > In my particular case, I'm trying to create a series of pull-down menus. > The first selection is the choice of hardware class (workstation, server, > laptop, pda, etc.). The second selection is manufacturer. The third is > hardware components (video, hard drive, motherboard, etc.). The last > selection chooses between different types of information of information > (Overview, Tech Specs, Drivers, etc.). > > My searches on the net have drawn up examples that typically work with two > selection fields interacting. The best article on this was from Leon > Atkinson: http://www.zend.com/zend/tut/drop-down.php > > I also found an example that does use 3 selection fields, but it appears > to > be in ASP: > http://www.quickgallery.com/case/storesearch/ > > Any ideas on how to go about this? > > Thanks, > > -Ed > > ************************************************************************ ** > ** > This message is intended for the sole use of the individual and entity to > whom it is addressed, and may contain information that is privileged, > confidential and exempt from disclosure under applicable law. If you are > not the intended addressee, nor authorized to receive for the intended > addressee, you are hereby notified that you may not use, copy, disclose or > distribute to anyone the message or any information contained in the > message. If you have received this message in error, please immediately > advise the sender by reply email and delete the message. Thank you very > much. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php