Solution for "code igniter double where model"

$data = array('name' => 'Rockky'); $multiClause = array('id' => $ids, 'name' => $name, 'status' => 1 ); $this->db->where($multiClause); $query = $this->db->get('table-name', $data); return $query->result();

how to use multiple where condition in codeigniter

public function update_row(){ $update_rows = array('name' => 'rincky'); $multipleWhere = array('id' => $ids, 'name' => $name, 'status' => 1 ); $this->db->where($multipleWhere); $this->db->update('user', $update_rows); }

Update Query in Codeigniter Using Multiple Where Condition

Similar codes for "code igniter double where model"


Latest 'PHP' questions

Added before "code igniter double where model"