Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

codeigniter 3 or where not in

$names = array('Frank', 'Todd', 'James');
$this->db->where_not_in('username', $names);
// Produces: WHERE username NOT IN ('Frank', 'Todd', 'James')
Source by codeigniter.com #
 
PREVIOUS NEXT
Tagged: #codeigniter
ADD COMMENT
Topic
Name
8+5 =