Jump to content

Search engine accents issue


argrafic

Recommended Posts

Hello all.

 

In a site i'm developing in spanish I have a simple search engine, but I have a little problem.

 

I want the search engine to find words even if you write them with or without accent.

 

For example atún (tuna) has an accent, and right now it will only show results if i write atún, if I write atun it tells me there are no results.

 

My SQL statement is the following:

SELECT * FROM r_glosario WHERE titulo LIKE '%variable%%' ORDER BY titulo ASC

 

How can I make it that no matter if I write atún or atun I get the same results?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/87783-search-engine-accents-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.