Inserting new line on txt file

hi everybody, i have an script that uses a header to output to a txt file to be downloaded but i cant manage to write new lines on it, when i open the file on my local machine it just has one only line, i have tried
\r and even <br> :stuck_out_tongue:
this is the header im using:

header(“Pragma: no-cache”);
header(“Expires: 0”);
header("Content-Transfer-Encoding: text/plain);
header(“Content-type: application/force-download”);

i have tried changing the charset to utf-8 for the encoding but didnt work either, im getting desperate, any help would be greatly appreciated, thanks for your time folks