For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > May 2007 > Problem with echo on freshly installed Apache and PHP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with echo on freshly installed Apache and PHP
Rafal Z

2007-05-12, 7:59 am

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
Doobie

2007-05-25, 8:28 pm

HaCkeD aDuLT SiTe :)
Direct access to member zone
http://uniqueadult.com/members/video.php?file=1
username: 218571
password: wanttocome
change the number in the link to get other videos! There are gigs of them!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com