Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

cideigniter orLike()

$this->db->like('title', 'match'); $this->db->or_like('body', $match);
// WHERE `title` LIKE '%match%' ESCAPE '!' OR  `body` LIKE '%match%' ESCAPE '!'
Source by codeigniter.com #
 
PREVIOUS NEXT
Tagged: #cideigniter
ADD COMMENT
Topic
Name
3+9 =