Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2007
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Country - province - city - results

    Hi People

    I want to build a program where you select Country - province - city - then display results

    DropDown Menu Example:

    Country - province - location - results.
    -----------------------------------------
    If country is selected display in dropdown 2 the provinces, then if a province is selected display the locations in dropdown 3...., echo results...
    -------------------------------------------

    Does anyone know how to do this, If I start with something will you be able to advise me on it?

    It does not have to be in a dropdown, it can work like links on a page as well or any way for that matter.

    Kind Regards

  • #2
    New Coder
    Join Date
    Apr 2007
    Location
    India
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Select from drop down list

    Hi,

    I think it would be a tedious task to have all the data on countries, provinces and cities in a single file. There are 192 countries and if you have list out all the provinces and cities, it will mess up to have it in single file.

    Its better to have a javascript for selecting the countries and their related cities. Just make use of script from below link to select provinces from the drop down menu.

    http://www.hscripts.com/scripts/Java...untry-list.php

    Just have the country list and its provinces by using html and javascript.
    GemGuy

    Be friend of me
    Hey what a fun

  • #3
    New Coder
    Join Date
    Apr 2007
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    No see I am not going to list every country and province.

    I need to write a script where the user can add then the visitor selects country + province see hotspot results.

    He wants to list nice vaction places around the world. But also just a few.

    Kind Regards
    Louwrens


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •