Menu
How can I modify this, so it uses LIKE, and then oreder it by score?
This is for a site search.
[code=php]$query = “SELECT urltitle,description,keywords,cat,subcat,url,id,body,
MATCH(urltitle,description,keywords,body) AGAINST (‘$var’ IN BOOLEAN MODE)
AS score FROM web_search WHERE MATCH(urltitle,description,keywords,body)
AGAINST (‘$var’ IN BOOLEAN MODE) ORDER BY score”;