Note to self whenever you are experiencing problems with rendering new lines in php e.g. using \n you must wrap these in double quotes not single e.g.
This will NOT work
echo ='My line with a line feed \n';
This WILL work
echo ="My line with a line feed \n";