search engine

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sebs
Forum Commoner
Posts: 97
Joined: Tue Sep 20, 2005 10:13 am

search engine

Post by sebs »

I am tryng to make a search engine,could you help me out with the search.My database does not have more than 200 entries.
The table is formed from :
ID,Name,VIA,CAP,Regione,Comune.
I only need the search.the fields I have read from mssql.
I need a search after all of this six entered from 6 textfields.Does anybody have something to help me?Please.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

You can use the LIKE clause in SQL, but that can be VERY slow.

Large websites make use of the metaphone algorithm which uses what a word or phrase sounds like phonetically instead of how it is spelt. (This is good for typo's)
Post Reply