How to create MULTIPLE LIKE query for the same column in codeigniter?
Let's say I want to get all rows in a text column that contain both of three words (word1, word2, word3) so my sql would be SELECT * FROM mytable WHERE col_text LIKE '%word1%' AND col_text LIKE '%word2%' AND col_text LIKE '%word3%' is there any and_like in codeigniter?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.