Answers for "codeigniter get sql query string"

SQL
2

codeigniter print last sql query

print_r($this->db->last_query());
Posted by: Guest on August-19-2020
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

Code answers related to "codeigniter get sql query string"

Code answers related to "SQL"

Browse Popular Code Answers by Language