Skip navigation links

MySQL Forums :: Newbie :: Searching entries with similar words in database


Advanced Search

Searching entries with similar words in database
Posted by: Marius Jonsson ()
Date: November 06, 2009 09:41AM

I am making a search engine in php, and I need to find a suitable SQL query to make.

I have a table called 'Addresses' with two cols: Dates and Addresses.

One row may contain:

Date: 12/02/02 | Address: Gill Street. Some searches from users will be "Gill's st." or "Gills Street" or "Gill St."

Therefore I need a query which will find the most approximate hits, and return the rows to me.

Would be great if you could suggest a query for me.

Kind regards,
Marius



Edited 1 time(s). Last edit at 11/06/2009 09:54AM by Marius Jonsson.

Options: ReplyQuote


Subject Written By Posted
Searching entries with similar words in database Marius Jonsson 11/06/2009 09:41AM
Re: Searching entries with similar words in database Chad Bourque 11/06/2009 10:03AM
Re: Searching entries with similar words in database Marius Jonsson 11/06/2009 01:23PM
Re: Searching entries with similar words in database Chad Bourque 11/06/2009 03:55PM


Sorry, only registered users may post in this forum.