The nl2br() function inserts HTML line breaks (<br> or <br />)
in front of each newline (
) in a string. Syntax. nl2br(string,xhtml).
echo "Thanks for your email" ."<br>". "Your orders details are below:"
<?php
#On some platforms, <br> is accepted, but worldwide,
is used
?>