Posted by Jonathan Tremlett on 05/23/06 00:04
Hi,
I was wondeirng if someone can help me? I am displaying a string on
screen and all I want to do is make it take a new line.
The code is as follows:
<?php
echo 'Hello \n World';
?>
I am obviously expecting:
Hello
World
but get output:
Hello \n World
Is there anytihng that I have done wrong or is there a php
configuration that requires to be set?
Any help will be appreciated
Jonathan Tremlett
Navigation:
[Reply to this message]
|