How to add my function in db class |
[eluser]spezia 018[/eluser]
Hi All, I have one problem. I want to make next function in db class: $this->db->my_function. Example: Code: public function get_sql_error() { I always have in controller try{} catch {}, and because that I need Exception. How to make $this->db->get_sql_error() ??? Thanks
[eluser]benton.snyder[/eluser]
Check out https://github.com/EllisLab/CodeIgniter/...se-Drivers
|
Welcome Guest, Not a member yet? Register Sign In |