PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > check the word whether correct or not
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
check the word whether correct or not

Réponse
 
LinkBack Outils de la discussion
Vieux 12/01/2008, 07h47   #1
akk2006@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut check the word whether correct or not

I have table that stored business types. I use full text search in
that table . I can find the business type but when user enter the
worng word or not complete word like 'hosp' for 'hospital', at that
time I can't handle . if I use " contains(bus_type,'"hosp*"') " its
ok. But
for "car" its display "car" ,"care","caraok" and so on .How should I
do. I want to know how to spell correct the user input string if I can
get that function it ok.


waiting for guru
  Réponse avec citation
Vieux 12/01/2008, 17h48   #2
Tom van Stiphout
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: check the word whether correct or not

On Fri, 11 Jan 2008 22:47:45 -0800 (PST), akk2006@gmail.com wrote:

You don't mention what tool you are developing your application in,
but most tools would allow you to create a dropdown with a hidden
BusinessTypeID and a visible BusinessType column, and then you can
have the users select from that list. No spelling errors possible.

-Tom.


>I have table that stored business types. I use full text search in
>that table . I can find the business type but when user enter the
>worng word or not complete word like 'hosp' for 'hospital', at that
>time I can't handle . if I use " contains(bus_type,'"hosp*"') " its
>ok. But
>for "car" its display "car" ,"care","caraok" and so on .How should I
>do. I want to know how to spell correct the user input string if I can
>get that function it ok.
>
>
>waiting for guru

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h32.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09435 seconds with 10 queries