You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '||'') AS score FROM wp_posts WHERE MATCH (post_title,post_content) AGAINST ('tes' at line 1