Hi guys, please bear with me in PHP im still new, I understand the usage and the meaning of those escape characters on page 17, but with php is either it ignores them ir print them if I use single, I have managed to use \n with nl2br and it works, but im still strugling with the rest, please help a poor web developer
I cannot get the \n escape character to work. But it's in my assignment, as we need to show 5 examples, and only the \\, \$ and \" works. That's only 3 examples.
So I'll put my \t and \n examples in, but if it doesn't work, do I still get the marks? as it's exactly like in textbook.
echo "Line 1 \n.";
echo "Line 2 \n.";
echo "Line 3 \n.";
above makes no difference, despite what the textbook says. It prints on the same line.