OK, I'm a total newbie to php, etc. I'm probably making the most elementary of mistakes, but I sure don't know what it is.
I have the 1.4.5 release of XAMPP (which I understand includes PHP 5) installed on Windows2K Pro - totally stock. I type in the Hello World script and it works. But if I try to use a newline (\n - backslash-n) it is just ignored.
The output of this:
echo "This is one line.\nAnd this is another line.";
This is one line. And this is another line.
As you can see, no newline was displayed.
The same is true if I use other escaped characters such as tab. The escaped character is just replaced with a space.
What am I doing wrong?