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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:24:11+00:00 2026-05-13T15:24:11+00:00

G’day, I’m creating an FAQ system, and the user needs to be able to

  • 0

G’day,

I’m creating an FAQ system, and the user needs to be able to see if a similar question has been asked. Just wondering if anyone knows of an scripts (php or javascript preferably, or possibly actionscript) that has some kind of AI that will do this? I’ve noticed on stackoverflow as a question is typed, related questions are given underneath.

Any advice would be appreciated.

Thank-you.

  • 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-13T15:24:11+00:00Added an answer on May 13, 2026 at 3:24 pm

    I think the best you can hope for is for a simple search engine: split the question into words and record the words against the question in a rdbms e.g.

    Table questions (id, text, ….)

    Table words (question_id, word)

    Then to get questions similar to a new question with id $x:

    SELECT prev.id, prev.text, count(*) AS common_words
    FROM questions prev, words prev_words, words curr_words
    WHERE curr_words.question_id=$x 
    AND curr_words.word=prev_words.word
    AND prev_words.question_id=prev.id
    GROUP BY id, text
    ORDER BY COUNT(*) DESC
    LIMIT.....?
    

    You could certainly apply more elaborate comparison methods on the shortlist returned – but this should certainly be the first step.

    C.

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

Sidebar

Ask A Question

Stats

  • Questions 315k
  • Answers 315k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Basically the problem is that GDI+ (and by extension, Windows… May 13, 2026 at 11:12 pm
  • Editorial Team
    Editorial Team added an answer I used the answer over at How do I create… May 13, 2026 at 11:12 pm
  • Editorial Team
    Editorial Team added an answer In PHP, headers aren't sent until PHP encounters its first… May 13, 2026 at 11:12 pm

Related Questions

G'day Stackoverflowers, I'm the author of Perl's autodie pragma, which changes Perl's built-ins to
G'day! I have one million different words which I'd like to query for in
G'day everyone I'm a newbie to C++ and even more so to Borland Turbo
G'day, I am working with a group of offshore developers who have been using
G'day all, I have a console project where it is intended the user presses

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.