Ok, thanx!:-)
/G
----- Original Message -----
From: "Brady Mitchell" <bradym@xxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Saturday, December 17, 2005 12:35 AM
Subject: RE: Weird html - No "real" <cr>
Hi
Yes, but I assume that
echo "<hr>Kontroll rad i textfil:$rowsInTextFile av
$totalRowsInTextFile<br>";
would render a <newline> ?
/G
Echo does not automatically add a newline, you would have to use \n to
get newlines with the echo statement:
echo "<hr>Kontroll rad i textfil:$rowsInTextFile av >
$totalRowsInTextFile<br>";
Will display the line break in the webpage as expected, but to get the
source code displayed to have the line break you would need to use:
echo "<hr>Kontroll rad i textfil:$rowsInTextFile av >
$totalRowsInTextFile<br>\n";
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php