RE: [PHP-DB] Dynamic Drop Down Box
| From: | NCI/IMS) | Date: | Wed, 06 Mar 2002 15:31:21 +0000 |
| Subject: | RE: [PHP-DB] Dynamic Drop Down Box | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17511@lists.php.net to get a copy of this message | ||
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 - which is definitely cooler :-) Good point
though - I should have asked which way they wanted to do it. I suppose if
you really wanted to be able to say your site used JS you could still use it
to set a hidden value in the form and submit it to the next page that way.
-Natalie
> -----Original Message-----
> From: Edward Marczak [SMTP:marczak@usa.net]
> Sent: Wednesday, March 06, 2002 10:27 AM
> To: php-db@lists.php.net
> Subject: Re: [PHP-DB] Dynamic Drop Down Box
>
> On 3/5/02 3:34 PM, "Leotta, Natalie (NCI/IMS)" <LeottaN@ims.nci.nih.gov>
> 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 first
> drop down. Certainly, javascript is cooler.
> --
> Ed Marczak
> marczak@usa.net
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php