-
Posts
22 -
Joined
-
Last visited
Community Answers
-
Andou's post in Problem with echo json_encode was marked as the answer
A couple of things.
First, put error_reporting(E_ALL); and ini_set('display_errors' 1); at the top of the file so we can see the errors.
Second, I googled it and apparently calling "json_last_error()" after json_encode() may fix the issue if it gives you the error code.
Try it, and if it still doesn't work, I'll see what else can be done.