Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

codeingiter 3 where in

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