Answers for "CI_Model db like string exec_sql"

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

Code answers related to "SQL"

Browse Popular Code Answers by Language