RE: [PHP-DB] Dynamic Drop Down Box
| From: | Boaz Yahav | Date: | Wed, 06 Mar 2002 21:37:29 +0000 |
| Subject: | RE: [PHP-DB] Dynamic Drop Down Box | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17532@lists.php.net to get a copy of this message | ||
There are several examples on http://www.weberdev.com.
Look in the Java Script area.
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-----Original Message-----
From: Rankin, Randy [mailto:randy.rankin@invensys.com]
Sent: Tuesday, March 05, 2002 10:32 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Dynamic Drop Down Box
Does anyone know how I might populate a drop down box based on the users
selection from a previous drop down box? For example, if I have a table
called 'autos' with 2 fields, 'make' and 'model'. I select distinct
'make'
and populate the first drop down box. Based on the user selection, the
2nd
drop down box would be populated with the distinct 'make' for that model
(ie; if the user selects Ford in the first drop down, the 2nd drop down
would be populated with Explorer, Expedition, Ranger, etc.).
Thanks,
Randy Rankin