Bladephp: Now with 8+ codeigniter, php, and laravel project 8+ php project From $37/Month From Rs. 2499/Month

not_like() Query in Codeigniter

by
Category:codeigniter
codeigniter mysql
not_like() Query in Codeigniter

This tutorial shows you how to write not like query in codeigniter. This method is identical to like(), except that it generates NOT LIKE statements.

Let’s create a not_like method in codeigniter

$this->db->not_like('title', 'php');  
// WHERE `title` NOT LIKE '%php% ESCAPE '!'

0 Comments


Html code work in comment box


Related Post