4
I’m having a problem searching for phrases, I have a search field and I’m using the LIKE operator to do this, but it’s not serving me correctly, I tried now using SOUNDEX, but it only returns a word with the same phonetics as the other word, What I need is to find a word between a sentence. Follow my SQL code.
$sql = "SELECT * FROM tabela WHERE LOWER('') LIKE LOWER('%$valor%')";
Related: http://answall.com/q/1828/101 the solution you want is not even simple and using resources prepared for other languages will also hinder more than help. Here, for example, we need to make the word "more" be interpreted as "but" because many people do not know the different and type wrong :P
– Maniero