470,848 Members | 1,822 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

php dynamic menu generation

Hello,
I've got a situation, where i'd like to have a selection box of
products. The user picks one product, and a menu appears doesn't activate,
but it shows some more detail regarding the product, say a car, and the
detail is a list of years you could pick. You pick the year and a list of
color choices appears, so on and so forth until you either select a choice
in which a database query is generated and you get a page or you get a page
listing all close parts. I was wondering if this was feasible without
clientside javascript, i don't like to rely on client side scripting as not
all user's utilize it.
Thanks.
Dave.
Jul 17 '05 #1
1 1723
If you want this done by PHP you will have to submit the form after each
selection so that the PHP script can detect what was selected and offer the
next set of options.

I personally would not do this in a single form. I use what is known as the
"waterfall effect" as is demonstrated in my sample application. Read about
it at http://www.tonymarston.co.uk/php-mys...plication.html

--
Tony Marston

http://www.tonymarston.net

"dave" <dm*******@woh.rr.com> wrote in message
news:A3*****************@fe1.columbus.rr.com...
Hello,
I've got a situation, where i'd like to have a selection box of
products. The user picks one product, and a menu appears doesn't activate,
but it shows some more detail regarding the product, say a car, and the
detail is a list of years you could pick. You pick the year and a list of
color choices appears, so on and so forth until you either select a choice
in which a database query is generated and you get a page or you get a
page
listing all close parts. I was wondering if this was feasible without
clientside javascript, i don't like to rely on client side scripting as
not
all user's utilize it.
Thanks.
Dave.

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Eddie de Bear | last post: by
2 posts views Thread by vikram | last post: by
6 posts views Thread by aroraamit81 | last post: by
3 posts views Thread by RahimAsif | last post: by
2 posts views Thread by Ghada Al-Mashaqbeh via DotNetMonster.com | last post: by
5 posts views Thread by pittendrigh | last post: by
3 posts views Thread by drblitzkrieg | last post: by
3 posts views Thread by =?Utf-8?B?ZWFndWlsYXI=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.