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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:35:20+00:00 2026-05-25T01:35:20+00:00

In my web application there will be several users. and they have their own

  • 0

In my web application there will be several users. and they have their own contents uploaded to my webapp. For each content they upload it has a title, description and tags(keywords). I can write a search script to search for content or user name. but they keywords when they have given with a spelling mistake it doesn’t return any result. For example if there is a user named “Michael” in the database and the search query was “Micheal” i should get “Did you mean to search for ‘Michael'” which is none other than a search suggestion.

Also this suggestion should be for the contents uploaded by the user. An user may keep their content’s title as “Michael’s activities May 2011” and suggestions should be generated for individual words.

  • 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-25T01:35:20+00:00Added an answer on May 25, 2026 at 1:35 am

    You could use SOUNDEX to search for similar-sounding names, like that:

    SELECT * FROM users WHERE SOUNDEX(name) = SOUNDEX(:input)
    

    or like that

    SELECT * FROM users WHERE name SOUNDS_LIKE :input
    

    (which is completely equivalent)

    Edit: if you need to use an algorithm other than Soundex, as Martin Hohenberg suggested, you would need to add an extra column to your table, called, for example, sound_equivalent. (This is actually a more efficient solution as this column can be indexed). The request would then be:

    SELECT * FROM users WHERE sound_equivalent = :input_sound_equivalent
    

    The content of the sound_equivalent column can then be generated with a PHP algorithm, and inserted in the table with the rest of user parameters.

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

Sidebar

Related Questions

We are developing a web application that will be sold to many clients. There
I have a web application which is used by lots of non-technical users. I
There is this DB-connection-like object that my web application will need. It is pretty
I am currently designing a web application that will allow users to schedule tasks
The web-application is a custom-built CMS which has several sub-applications and each one of
I want to make a webapplication in witch there will be some users with
In my web application there is a process that queries data from all over
I'm working on a Wicket-based web application. In the application there are buttons that
we need reports in our web application and there is the free ReportViewer Control
There are lots of web application frameworks available these days, for pretty much every

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.