- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsI want to create a php page that does the following. It receives a string of characters and parses them to split them into separate words and lists them.
It then queries the database to see if these words already exist in some tables.
Next to each word, it creates a drop-down-list of values correspoding to the word in the database (for example, it would query 'Season' and populate the drop-down-list with 'Summer','Winter','Autumn'
The words that don't have a corresposing value(s) in the database will not have a drop-down-list created for them.
I have created that already and it works fine ...(my code is below)
What I want to do next is the following: when the user clicks on any item of a drop-down-list, I want the php page to query the database for another set of values and list them in a new drop-down-list
(for example, if the user clicks on 'Summer', I want another drop-down-list to be created with the values June, July, August). I want the second drop-down-list to appear when the user clicks on the option.
There will obviously be sevaral second drop-down-lists correspoding to how many firs drop-down-lists were created by the first selection.
I have looked up some online code, but when trying them they didn't work. They all suggest using javascript.
I am new to all this php and javascript so your help is much appreciated. Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: mplungjanPosted on 2009-08-12 at 04:01:14ID: 25077402
http://www.google.com/sear ch?q=php+a jax