Problem with echo on freshly installed Apache and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux