show_error and active db connection - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: show_error and active db connection (/showthread.php?tid=43129) |
show_error and active db connection - El Forum - 07-01-2011 [eluser]aranape[/eluser] 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 show_error and active db connection - El Forum - 07-01-2011 [eluser]toopay[/eluser] Why you need to return a json response while the system is error??? show_error and active db connection - El Forum - 07-01-2011 [eluser]aranape[/eluser] Its a requirement , but the real issue here , is : Id the db closed when show_error is called? |