PHP: trying to create a new line with "\n"

Posted by user248959 on Stack Overflow See other posts from Stack Overflow or by user248959
Published on 2010-04-20T11:41:06Z Indexed on 2010/04/20 11:43 UTC
Read the original article Hit count: 135

Filed under:
|
|

Hi,

i'm writing this:

echo "foo";
echo "\n";
echo "bar";

and "bar" is not written in the line below.

What am i doing wrong?

Javi

© Stack Overflow or respective owner

Related posts about php

Related posts about newline