, 2002 10:32 PM
To: [EMAIL PROTECTED]
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'
on 3/6/02 10:31 AM, Leotta, Natalie (NCI/IMS) at [EMAIL PROTECTED]
appended the following bits to my mbox:
> If they want two pages they wouldn't need JS though - just submit and use
> that in your second query to populate drop-down #2. I had assumed that they
> wanted it on the same page - whic
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] Dynamic Drop Down Box
>
> On 3/5/02 3:34 PM, "Leotta, Natalie (NCI/IMS)" <[EMAIL PROTECTED]>
> wrote:
>
> > This can be done with JavaScript - I don't know if you can do it in PHP.
>
> ...unl
On 3/5/02 3:34 PM, "Leotta, Natalie (NCI/IMS)" <[EMAIL PROTECTED]>
wrote:
> This can be done with JavaScript - I don't know if you can do it in PHP.
...unless the drop-downs are on separate pages. E.g.: page 1 just asks for
make, once selected, load up page 2 with choices appropriate to the fir
TECTED]
> 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
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
dro