I\'m using the following SQL query for a search engine:
$sql = \'SELECT *, MATCH(query) AGAINST(\\\'\'.$keywords.\'\\\' ) AS relevance FROM `queries`