Welcome Guest, Not a member yet? Register   Sign In
Codeigniter, Jquery and Json communication proble,
#2

[eluser]TheFuzzy0ne[/eluser]
You probably have some code somewhere that appends the trailing </html> to the end of the document when the buffer is sent to the browser. I have no idea where, however. Perhaps it's a post controller hook?

To get around that, you can probably just do:
Code:
echo json_encode($arr);
die();


Messages In This Thread
Codeigniter, Jquery and Json communication proble, - by El Forum - 04-12-2013, 10:21 PM
Codeigniter, Jquery and Json communication proble, - by El Forum - 04-13-2013, 05:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB