[PHP] like 模糊查询 ci框架 →→→→→进入此内容的聊天室

来自 , 2021-01-13, 写在 PHP, 查看 118 次.
URL http://www.code666.cn/view/fc192b0c
  1. $this->db->like('title', 'match', 'before');
  2. // 生成: WHERE title LIKE '%match'
  3.  
  4. $this->db->like('title', 'match', 'after');
  5. // 生成: WHERE title LIKE 'match%'
  6.  
  7. $this->db->like('title', 'match', 'both');
  8. // 生成: WHERE title LIKE '%match%'
  9.  

回复 "like 模糊查询 ci框架"

这儿你可以回复上面这条便签

captcha