Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Codeigniter select where

$array = array('name' => $name, 'title' => $title, 'status' => $status);
$this->db->where($array);
// Produces: WHERE name = 'Joe' AND title = 'boss' AND status = 'active'
Source by www.codeigniter.com #
 
PREVIOUS NEXT
Tagged: #Codeigniter #select
ADD COMMENT
Topic
Name
2+8 =