I try to use single quotes as much as possible and I\'ve noticed that I can\'t use \\n in single quotes. I know I can just enter a newline literally by pressing return, but
in case you have a variable :
$your_var = 'declare your var'; echo 'i want to show my var here'.$your_var.'';