\n \t don't work!!!
| From: | Wang Feng | Date: | Mon, 13 Oct 2003 11:22:29 +0000 |
| Subject: | \n \t don't work!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165951@lists.php.net to get a copy of this message | ||
Guys,
These codes are copied from the manual:
*****************************************************
echo ("this is the simplest, an SGML processing instruction\n");
echo "This spans
multiple lines. The newlines will be
output as well";
echo "This spans\nmultiple lines. The newlines will be\noutput as well.";
******************************************************
None of them works. I mean there're not any new lines generated in my
browser and I have to use the echo"<br>" to print a new line. But why
doesn't the \n work? BTW, the \t doesn't work either.
(WindowsXP Pro + PHP Version 4.1.1)
Please advise.
cheers,
feng