Welcome Guest, Not a member yet? Register   Sign In
show_error and active db connection
#1

[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
#2

[eluser]toopay[/eluser]
Why you need to return a json response while the system is error???
#3

[eluser]aranape[/eluser]
Its a requirement , but the real issue here , is :

Id the db closed when show_error is called?




Theme © iAndrew 2016 - Forum software by © MyBB