on-internet
← Community

Fulltext search, no results?

Stack Overflow ·

I'm trying to implement a database search, by using match, against and fulltext indexing. So, when I did the search, it did not work as expect, no errors and no results was given. I'm querying by using Codeigniter. Here is my PHP query code: $clean_keyword = trim($keywords); //$keyword is passed to the function` $this->db->select('question, answer') ->from('QA') ->where('MATCH(question) AGAINST("'.$clean_keyword.'")', null, FALSE); $query = $this->db->get(); //execute the previous statement and save the result in a variable. No errors from codeigniter/MySQL was given. I tried to debug the $que

Comments

Sign in or sign up to comment and upvote.

No comments yet.