Problem with echo on freshly installed Apache and PHP
| From: | Rafal Z | Date: | Sat, 12 May 2007 10:41:18 +0000 |
| Subject: | Problem with echo on freshly installed Apache and PHP | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18007@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