CodeIgniter Forums

Full Version: show_error and active db connection
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

if show_error('Blah , Blah');
its called and an active database connection is opened, never is closed
I'm correct?

How can bypass that stuff , because i need to send the error in
JSON because its under an AJAX call!!

Sorry about my english

El Forum

Why you need to return a json response while the system is error???

El Forum

Its a requirement , but the real issue here , is :

Id the db closed when show_error is called?