CodeIgniter Forums
Get last MySQL error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Get last MySQL error (/thread-62670.html)



Get last MySQL error - jLinux - 08-12-2015

Im using CI3 for my new app, I was using CI2 before, and im pretty sure there was a way to retrieve the last MySQL error, but when I try it with CI3, it doesnt seem to work...

Can anyone tell me if theres a way to get the last error?


RE: Get last MySQL error - mwhitney - 08-12-2015

http://www.codeigniter.com/user_guide/database/queries.html#handling-errors