Escape % in MySQL queries with match

前端 未结 0 857
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 10:30

I\'m using the following SQL query for a search engine:

$sql =    \'SELECT *, MATCH(query) AGAINST(\\\'\'.$keywords.\'\\\' ) AS relevance
          FROM `queries`         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题