I can't get PHP_EOL or \r\n to give me a line break.
I've not used my account for a few weeks and I recently logged in because I wanted to try changing some of my PHP Mysql to use PDO.
Has anything been updated recently that would stop PHP_EOL line breaks from working ?
Whenever I add PHP_EOL to an echoed string in single quotes now it no longer works and the output comes out as one long string.
ie: echo 'This is a line of text'.PHP_EOL;
echo 'And this is another'
ouputs as This is a line of textand this is another
Thanks in advance for any help.
I've not used my account for a few weeks and I recently logged in because I wanted to try changing some of my PHP Mysql to use PDO.
Has anything been updated recently that would stop PHP_EOL line breaks from working ?
Whenever I add PHP_EOL to an echoed string in single quotes now it no longer works and the output comes out as one long string.
ie: echo 'This is a line of text'.PHP_EOL;
echo 'And this is another'
ouputs as This is a line of textand this is another
Thanks in advance for any help.