Answers for "raw query in codeigniter"

1

codeigniter raw query

$sql="Select * from my_table where 1";    
    $query = $this->db->query($SQL);
    return $query->result_array();
Posted by: Guest on September-03-2020
0

raw query in codeigniter

$query = $db->query('YOUR QUERY HERE');
Posted by: Guest on August-04-2020

Browse Popular Code Answers by Language