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 4038272
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:27:09+00:00 2026-05-20T12:27:09+00:00

A key part of my current project is users having the ability to see

  • 0

A key part of my current project is users having the ability to see what other users live near to them. What is the best way to implement this?

I would just ask for country, state and city but because this will be international I can’t have a fixed drop down list of states/administrative regions for each country, so if users spell the name of their state differently this will hinder my ability to detect that users live in the same state.

Say for example we have an the Swiss canton “St. Gallen”. Some user will spell that as “Saint Gallen”, others as “St Gallen” and so on. Which is obviously problematic.

Could I just ask for the zip code and use that? I’ve found some zipcode tools online but I’m suspecting they don’t work very well. Has anyone used them?

Thanks for your asnwers.

  • 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-20T12:27:10+00:00Added an answer on May 20, 2026 at 12:27 pm

    Shouldn’t you base your query on geographical data rather than administration one? I mean instead of comparing cities/zip codes just find people within, let’s say, 5 km from current user location. And if you let every user to choose his/her location on the map, this will be as simple as choosing it from a series of drop-down lists or entering a ZIP code. Also there is an emerging geolocation HTML feature.

    Querying such an information is different story thou. You’ll probably gonna have to use GIS capabilities of your database: MySQL, PostgreSQL, Oracle and others.

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

Sidebar

Related Questions

I have an object that has a multi-part key and I am struggling to
I'm building a claims database with the above schema so far. Three three-part key
The query part of a URL seems to consist of key-value pairs separated by
Part-time reluctant DBA here. I want to change an existing primary key index from
EDIT Sorry I forgot the most important part here. Each key can have more
Below is my current encryption function. define('ENCRYPT_KEY', 'ldkKKmeJddeFffKdjeddd'); function market_dock_api_encrypt($string) { $key = ENCRYPT_KEY;
I've come across a place in my current project where I have created several
I'm having a bit of an issue and, the other questions here didn't help
Assume the following in MySQL: CREATE TABLE users ( id integer auto_increment primary key,
I've tried to include GData XML into my current project. So far without success,

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.