Jump to content


Photo

search function???


  • Please log in to reply
2 replies to this topic

#1 jeremic

jeremic
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 18 May 2006 - 12:50 AM

Alright, new ehre so go easy on me :P I have a database with about 1000 names. I'm developping a search engine which is easy but. I want to create an option where by if a person enters the wrong name the script suggess existing names that are similar to the unexisting searched name.... how do I do this?? If you're confused im tyrying to create liek a spellcheck liek on google if you type a search and no results it suggests a valid one.

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 18 May 2006 - 01:00 AM

You could have look at MySql SOUNDEX function
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

#3 jeremic

jeremic
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 18 May 2006 - 01:28 AM

Thank you so much!!!!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users