MySQL search exact word with $ in word

前端 未结 2 1650
执笔经年
执笔经年 2021-01-27 15:16

I\'ve been trying to find exact words and my research isn\'t helping me.

Solutions I\'ve found:

$query .= \"WHERE text REGEXP \'[[:<:]]($word)[[:>:         


        
2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-27 15:39

    You will want to use MySql Full Text Search functions to accomplish what you describe above.

    Enjoy!

提交回复
热议问题