Re: Nested select options from database.
| From: | olinux | Date: | Wed, 02 Apr 2003 23:20:22 +0000 |
| Subject: | Re: Nested select options from database. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142039@lists.php.net to get a copy of this message | ||
--- Krista <webmaster@experienceworks.org> wrote:
> Hi everyone,
>
> Is it possible, using just PHP, to pull a select
> menu from a DB, then when
> the person makes a selection have it populate a
> second drop down select
> menu, and again for a third one? Would javascript
> need to be involved here
> to keep it all on the same page?
>
No but you could retrieve all of this information at
once and use it in your javascript
> I'm in pretty desperate need of some code that can
> do this to select
> categories for products to go into, and I'm not sure
> how to make it work.
> There are way too many categories to have top level,
> second and third in the
> same drop down anymore - we only want people to be
> able to add the products
> to the third level.
>
here are a several options
http://www.jsexamples.com/example/?ex=290&mode=2
http://www.jsexamples.com/example/?ex=728&mode=2
http://www.jsexamples.com/example/?ex=536&mode=2
http://www.jsexamples.com/example/?ex=458&mode=2
olinux
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com