Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make options list behave upon event on page

Status
Not open for further replies.

alfalf

Programmer
Joined
Mar 6, 2003
Messages
155
Location
BA
Hello all!

As newbie, perhaps I'm asking to much, but:

I have two options lists on one PHP (phtml) page:
1. Countries (based upon mySQL table)
2. States (also based upon mySQL table, every state belongs to a certain country!).

Now, I want my States options list to show only those values that correspond to a selected Country.
Filtering and display of States data should occure the moment I select Country from country options list.

Q: Is this a PHP question at all?
Q2: Perhaps HTML solution? Such as Form in Form?
Q3: At the end, is it too much tricky to make this work anyhow?

In HTML, SQL and table design am NOT NEWBIE.
I use W2K, Apache2, PHP4, MySQL4.

Thanks for any suggestion!
:-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top