Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

codeigniter 3 or where in

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