Answers for "Codeigniter select where"

PHP
0

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'
Posted by: Guest on August-04-2021

Browse Popular Code Answers by Language