PHP code not creating new line in rtf template
<p>I reduced a php script to the exact code necessary to solve a perplexing problem (at least to me!).  All the script below is supposed to do is replace '++name' in an rtf template with a hard coded variable that will print 'me' on one line, and 'you' on the next line.  Besides trying "\r\n" to create the new line, I've also tried "\par" to no avail.  The below code replaces '++name' with "meyou" on one line.  I have found a number of "solutions" on stackoverflow and other forums, but none have worked for me. </p>

<p>Any help is much appreciated.</p>

<pre><code>    &lt;?php
    $name = "me" . "\r\n" . "you";
    header('Content-type: application/msword');
    header('Content-Disposition: inline, filename=filenot.rtf');
    $filename = 'rtfnotice.rtf';
    $fp = fopen ($filename, 'r');
    $output = fread( $fp, filesize($filename));
    fclose ($fp);
    $output = str_replace('++name', $name, $output);
    echo $output;
?&gt;
</code></pre>
