Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

search special characters

Status
Not open for further replies.

math

Programmer
Mar 21, 2001
56
BE
Hi,

I've made a search-script, it searches in a mysql-table and just displays the results...
The problem is that users probably will search with only the normal characters, but in the mysql-table, ë é è is used (when correct)... How can i search so that if the users search for "Daniel", the results should also show "Daniël"...

Is it possible? how?

Thanx alot in advance,
Math
 
Since "e", "è", "é", "ê", and "ë" are all very different characters, you'll have to write code that associates "e" with all its accented variants.

Both PHP and MySQL support regular expressions. That's probably the way to do.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top