I know SELECT * FROM table but I never saw SELECT *, MATCH before.
My working query is following
$query = $this->dbi
->prepare("SELECT *, MATCH(title, content) AGAINST (?) AS score FROM tmp_comments WHERE MATCH(title, content) AGAINST(?)")
->execute($this->key,$this->key)
->results();
It does not work if I remove , after SELECT *
Please help me out, I tried a Google search but could not find anything.
It basically means that first print out all the columns of the desired resultset and then the match found(on the given rule).
See if the following example, makes it clear to you: