Problem with LINE FEED (\n)
-
Hello,
I’m using php-snippets version 0.7 with wordpress 4.0.1 and all was ok but from one week in a snippet.php that worked and that has this line:echo “TEST STRING\n”
It doesn’t work anymore… and the strange is that no message is shown or error but the php is not shown on the screen (nothing appears on the screen). Only by removing the line Feed (\n) all work and the page appears.
At the beginning I thought that it could be a wordpress problem, but if I write line feed in posts it works but no longer in a php of php-snippets.
The solution I took was to replace any occurence of “\n” by “\r” but is there any other solution? or is this a bug?
Thanks for your help
- The topic ‘Problem with LINE FEED (\n)’ is closed to new replies.