I am creating a survey which collects some information including location (ie: country, state, etc...) I want the user to be able to click on the "country" drop down box and choose their and then dynamically the "state or province" drop down box will populate and/or adjust to list the states or provinces for each country. I tried using Javascript to accomplish this but apparently caused alot heartache for the Netscape 6 and Mac users. I'm fairly new to PHP so any help would be greatly appreciated. From my research it appears nested loop statements are used to create such dependencies.
FYI: I'm now attempting to rewrite the survey using PHP and storing the resulting information in a MySQL database for later use.