$var = \"Hi there\".\"\".\"Welcome to my website\".\";\" echo $var;
Is there an elegant way to handle line-breaks in PHP? I\'
Because you are outputting to the browser, you have to use . Otherwise there is \n and \r or both combined.
\n
\r