By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,195 Members | 618 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,195 IT Pros & Developers. It's quick & easy.

how to make selected drop down menu to create another drop down menu

P: 1
Hi, I know i'm doing it wrong, but I'm using a while loop right now to create several instances of a drop down menu. It gives me undesirable results. Can you tell me the right way to do it. Below are a bit of information on what i did if you want t read it.

When I choose select an option in the drop down menu and hit submit, I increase a counter, and a 2nd loop generates a second drop down menu with the same options. This is exactly what i want, but if i change the first option, that option will go back to the orignal chosen option. Only, the new instance of the drop down menu can be chosen. This is because i'm using a text variable that keeps track of each succession of choices, seperating each succession with a comma. It reads the text for the previous choices, and a new choice with be concatonated into the text. I found that the reason it will not change is because only the last instance of the drop downmenu is recorded when i press submit. The server where I wrote the php is down, so i cannot give you the codes.
Aug 16 '06 #1
Share this Question
Share on Google+
1 Reply

Banfa
Expert Mod 5K+
P: 8,968
I think seeing the code wwould help if you can post it.
Aug 16 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.