I\'m building a Codeigniter application and I\'m trying my hardest to prevent SQL injections. I\'m using the Active Record method to construct all my queries. I know Active Rec
You can always see the latest query made by using the last_query() method.
last_query()
$this->db->last_query()
You will see exactly how the query looked, so you can verify if sanitized properly.