Populating city,state,country drop down menu

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • B. G. Mahesh

    Populating city,state,country drop down menu

    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
  • Weinhandl Herbert

    #2
    Re: Populating city,state,coun try drop down menu

    B. G. Mahesh wrote:[color=blue]
    > 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[/color]

    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].

    [color=blue]
    > Any help is appreciated
    >
    > -- bg mahesh[/color]


    Happy programming

    Herbert

    Comment

    Working...