I am currently working on a membership registration web form,
wherein we have to take details of the member being registered online.

i need to know his Country, State/Region and City.

i am looking for a database/list so that we can provide the same in a combobox in the registration form.

the states should on the selection of country ;and
the city should change on the selection of state.


i tried lot, but only getting list of countries or cities BUT independent not related.


Please guide.

Recommended Answers

If you're looking for the form to change without reloading the page, you need JavaScript.

Go here:
http://www.daniweb.com/forums/forum117.html

Edit: You may also find this useful:

Jump to Post

All 3 Replies

A number of places you can get the sample code for geo location matching, i.e, ip2location and maxmind. Personally i like ip2location, http://www.ip2location.com on the supports and variety of packages.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.