#9542 [Com]: \n not forcing a new line.

From: Date: Fri, 09 Apr 2004 20:23:15 +0000
Subject: #9542 [Com]: \n not forcing a new line.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57887@lists.php.net to get a copy of this message
ID: 9542 Comment by: cperrywebrat at yahoo dot com 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: 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? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#57887) next »