• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.