Problem populating a select
| From: | Luca Lazzarotti | Date: | Fri, 23 Aug 2002 14:01:48 +0000 |
| Subject: | Problem populating a select | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113766@lists.php.net to get a copy of this message | ||
Hi All,
I have the following problem:
I have 2 selects, one or categories and one for products
The category select is populated by a DB table.
Depending on the item selected I want to populate the second select
(ONCHANGE event).
Example if I select colors as category I want to populate the product select
fetching all elements from the table products with the selected category
(colors).
Any idea?
Thanks
Luca
______________________________________________________________________
Scarica il nuovo Yahoo! Messenger: con webcam, nuove faccine e tante altre novità.
http://it.yahoo.com/mail_it/foot/?http://it.messenger.yahoo.com/