#9542 [Csd]: \n not forcing a new line.
| From: | tomsommer@php.net | Date: | Fri, 09 Apr 2004 23:27:45 +0000 |
| Subject: | #9542 [Csd]: \n not forcing a new line. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57889@lists.php.net to get a copy of this message | ||
ID: 9542
Updated by: tomsommer@php.net
Reported By: davidlbarber at home dot comEch
Status: Closed
Bug Type: Strings related
Operating System: Corel Linux 1.1.2
PHP Version: 4.0.4pl1
New Comment:
cperrywebrat at yahoo dot com:
Read the documentation,
http://php.net/manual/en/language.types.string.php
Not a bug.
Please don't comment on old and closed bugs, create a new one - after
doublechecking the manual
Previous Comments:
------------------------------------------------------------------------
[2004-04-09 16:23:15] cperrywebrat at yahoo dot com
I also do not get a new line using this:
<?php
echo('<BR>Number of \r\nrecords f\rou\nnd: '.$counter);
?>
Yes, I am looking at this in a browser. Is there maybe a configuration
setting not allowing this?
------------------------------------------------------------------------
[2001-03-04 12:10:46] cynic@php.net
are you looking at it in a browser? if so, look at the source of the
page. the newline is there. if not, reopen the report.
------------------------------------------------------------------------
[2001-03-04 02:25:12] davidlbarber at home dot comEch
<?php echo "Some String \n"
echo "Some more String \n"
?>
I expected this output:
Some String
Some more String
But I'm getting this output:
Some StringSome more String
No new line is being forced. The problem also occurs with PRINT
as well as ECHO.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=9542&edit=1