Line Break Problem
| From: | Alice Wei | Date: | Mon, 09 Mar 2009 12:06:40 +0000 |
| Subject: | Line Break Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-289629@lists.php.net to get a copy of this message | ||
Hi,
I have a question regarding using line breaks in PHP. I have the code something like:
echo "1" . "\t " . $x . "\t" . $y . "\r\n";
When I run the code, it looks like a whole blob of text, but when I use "View Source", the
line breaks are formatted then correctly.
Anyone can please tell me if this is what this is supposed to be?
If so, how can I get the user to see the line break as they are, do I have to use <br>?
Thanks for your help.
Alice
_________________________________________________________________
Use Messenger to talk to your IM friends, even those on Yahoo!
http://ideas.live.com/programpage.aspx?versionId=7adb59de-a857-45ba-81cc-685ee3e858fe