on-internet
← Community

full text search in codeigniter

Stack Overflow ·

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

Comments

Sign in or sign up to comment and upvote.

No comments yet.