Problem with echo
| From: | Rafal Z | Date: | Sat, 12 May 2007 10:31:28 +0000 |
| Subject: | Problem with echo | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18006@lists.php.net to get a copy of this message | ||
Hallo,
I',m new to PHP. I've installed Apache 2.0.59 and PHP 5.2. It's
functionning, but all strings outputed with Echo shows on the same line,
even if I include a "\n" at then end of string. Example:
<?php
Echo "string1";
Echo "string2";
?>
results in: string1string2 in any browser.
The same result with the following modification:
<?php
Echo "string1\n";
Echo "string2";
?>
How could I change this behaviour
sincerely
Rafal Z