"\n" is the equivalent of pressing the enter key on your keyboard. So, if you are writing to a file with the code:
$line1 = "This is line 1";
$line2 = "This is line 2";
fwrite ($whatever, $line1 . "\n" . $line2);
the file would look like this:
This is line 1
This is line 2
it would not look like this:
This is line 1<br>This is line 2
or:
This is line 1\nThis is line 2