Print PHP string in new lines
<p>Anything wrong with this code? I want it to print the name and address - each on a separate line, but it all comes up in one line.</p>

<p>Here's the code</p>

<pre><code>&lt;?php 

    $myname = $_POST['myname'];
    $address1 = $_POST['address1'];
    $address2 = $_POST['address2'];
    $address3 = $_POST['address3'];
    $town = $_POST['town'];
    $county = $_POST['county'];

    $content = '';

        $content .="My name    = " .$myname ."\r\n";
        $content .="Address1   = " .$address1 ."\n";
        $content .="Address2   = " .$address2 ."\n"; 
        $content .="Address3   = " .$address3 ."\n"; 
        $content .="town       = " .$town ."\n"; 
        $content .="county     = " .$county ."\n"; 

        echo $content;

?&gt;
</code></pre>

<p>It looks like the '\n' character is not working.</p>
