codeigniter 2.3 raw query 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();