full text search in codeigniter
I have a query to search keywords using like, but I also want to search full text so I changed it to full text search query, but it doesn't work. The old query that's working fine: $data = $this->db ->select('content.title,content.id,content.category,content.body,path') ->from('content') ->join('categories','content.category = categories.id') ->like('content.title', $searchterm) ->like('content.body', $searchterm) ->order_by("content.id","DESC") ->get(); and this is my new query for full text search: $data = $this->db ->select('content.title,content.id,content.category,content.body,path') ->fr
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.