473,466 Members | 1,286 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1822
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Eddie de Bear | last post by:
Hi, A project I am working on has a requirement for dynamic menus. For the most part this works really well. The menus I'm creating a based on files and directories, so naturally the menu...
2
by: vikram | last post by:
I have to design a page which contains a dynamic generated menu at left side.Menu will be generated once a user log in and will remain as it is for the rest of the user session. Problem is that...
6
by: aroraamit81 | last post by:
Is there any way by which I can create a dynamic database driven Menu using ASP.NET/C#...... Thanks Amit Arora
0
by: Sri Reddy | last post by:
Hi I want to create a horizontal menu on my website being built using asp.net2 with menu items based on the "role" of the user who logged into the system.Role iformation will be read from...
3
by: RahimAsif | last post by:
I am writing an application that requires the a portion of the main menu to be dynamic. The menu has file, panels, view files and help across the top. The view files sub menu needs to be...
2
by: Ghada Al-Mashaqbeh via DotNetMonster.com | last post by:
Hi all, I am facing a problem in dynamic code generation at run time, the problem occurs when the dynmaic code use global data exist within the original application. Lets say that my...
5
by: pittendrigh | last post by:
There must be millions of dynamically generated html pages out there now, built by on-the-fly php code (and jsp, perl cgi, asp, etc). Programatic page generation is transparently useful. But...
3
by: drblitzkrieg | last post by:
Hi, I have a page with 2 drop-down menus. The task is, when you select 1 menu, your selection then changes the options available in the other. This data happens to be drawn from a mysql database,...
3
by: =?Utf-8?B?ZWFndWlsYXI=?= | last post by:
Hi, I am trying to dynamically generate a menu, based on entries on a text or xml file. The text file contains the "tree" after which the menu will need to be created. Something like the...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.