I\'m having a strange problem when retrieving JSON formatted text. I use jQuery post to send some data (also JSON formatted) to the server (running PHP) which w
post
do you get linebreaks like or newlines like \n? But try to replace them with PHP.
asdfasf'; echo str_replace('', '', $strin); // Replace with '' (nothing) ?>
or check out urlencode