codeigniter custom query and where code example
Example: codeigniter raw query
$sql="Select * from my_table where 1";
$query = $this->db->query($SQL);
return $query->result_array();
$sql="Select * from my_table where 1";
$query = $this->db->query($SQL);
return $query->result_array();