line break help in PHP
<pre><code>&lt;?php


$sql="SELECT * FROM parentid WHERE id = '$doi'";

$result = mysql_query($sql);
while($row = mysql_fetch_array($result))
{
$abc_output .=  $row['title'] . "\n" ;
$abc_output .=  $row['reportno'] . "\n" ;
}
}
echo $abc_output;

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

<p>Above is the following code i am using..
i want the output to be</p>

<pre><code>title
reportno
</code></pre>

<p>but the output i am getting is</p>

<pre><code>title reportno
</code></pre>

<p>can any one suggest me what i am doing wrong in line break ??</p>
