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

Populating city,state,country drop down menu

P: n/a
hi

In the registration form I have city, state, country fields. I was
wondering if there was a database available on the net which has the
list of states in each of the countries. That way when a user selects
a country I could automatically populate the state drop down menu

Any help is appreciated

-- bg mahesh
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
B. G. Mahesh wrote:
hi

In the registration form I have city, state, country fields. I was
wondering if there was a database available on the net which has the
list of states in each of the countries. That way when a user selects
a country I could automatically populate the state drop down menu
Have a loop at http://pear.php.net/
Class Summary HTML_QuickForm_hierselect

Class to dynamically create two HTML Select elements
The first select changes the content of the second select.

Description
Class to dynamically create two HTML Select elements
The first select changes the content of the second select.

This element is considered as a group.
Selects will be named groupName[0], groupName[1].

Any help is appreciated

-- bg mahesh

Happy programming

Herbert
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.