New Line in PHP
March 31st, 2010
Printing a new line witch is visible in a web page is made like this:
the code above will print line 1 on a line and line 2 on a new line.
Now if you have to generate a CSV file <br/> wil not work you have to use \n like in C language but there is a trick.
double quotes will parse \n as a new line and single quotes will believe is is a text

