Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6904217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:01:41+00:00 2026-05-27T08:01:41+00:00

I have a website with a join form that asks you for your country

  • 0

I have a website with a join form that asks you for your country and then city.
When you type your city it sends AJAX calls back to a MySQL DB I have and this returns 10 possible results in a div under the input that you can select from or type further for a more refined return.

enter image description here

This works fine for one country (I purchased this DB) but I need to expand it for the entire world.
I can purchase a DB for the world (country, city, suburb, postcode, geo co-ordinates) but its not cheap so I wanted to ask.

  1. Is there a way to do the same thing using Google Maps, Yahoo or Bing? Can I have users enter a country city location and have the GEO CO-Ords returned? Is it possible to do this with the AJAX keyup event returning possibilities?

  2. How to other people/sites go about this.

Note: I should also explain why I need this. The site is for online dating and I need to do radius searches. Eg: search for other members within 10KM or 20KM from where I am so I need GEO CO-Ords for each member.

Any advice would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:01:42+00:00Added an answer on May 27, 2026 at 8:01 am

    I have used Geonames in my previous geo-based project, what I did was:

    1. Downloaded the free database from the site.
    2. Imported the country, city, admin area database.
    3. Created my own Ajax service and various functions based on the imported database.

    To make a query quick enough for your auto-complete input form, you might want to reduce the data size of the cities table by eliminating less populated cities by using “cities1000.zip” (which stands for “all cities with a population > 1000). I used this solution and the search speed was at least 1000x times faster.

    And a quick answer for your “radius searches”, you can use these Reverse Geocoding Webservices from Geonames as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jQuery. I have website feature that does an ajax search and returns
I have a website that plays mp3s in a flash player. If a user
I have a website that I've just uploaded onto the Internet. When I browse
We have a website that uses #include file command to roll info into some
I have a website that is perfectely centered aligned. The CSS code works fine.
I have a Website that is really slow and feels really bad when using
I have a website where we use Javascript to submit the login form. On
I'm building a website. It has groups that users can join. The difference between
I want to create an interactive website using aspx and ajax, that there will
I have a website that is running a query off to Mysql when a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.