PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The problem is not with json, but with your code, so please post it
by the way, if you add <pre> tag before your output, you will see the 'string' in more beautiful way