php echo doesnt print newlines
<p>I started doing a new project in PHP / MySql . The Aim of this project is to manage articles for a magazine that i am the editor of.</p>

<p>So the content of the articles, i decided i would store with the "TEXT" column type of MySql </p>

<p>Now when i retrieve this column and print it with echo, the newlines are not there. Its all on the same line. </p>

<pre><code>$resset = mysql_query("select txt from articles where id = 1");
$row = mysql_fetch_assoc($resset);
$txt = $row['txt'];
echo $txt; //doesnt print it as it is in the database as it was typed (multiline)
</code></pre>

<p>Find below,  the text as it looks in the database and as it looks when it is echoed</p>

<p><img src="http://img413.imageshack.us/img413/4195/localhostlocalhostzxcvb.jpg" alt="in the databse, it is with new lines"></p>

<p><img src="http://img718.imageshack.us/img718/1700/sdashboardmozillafirefo.jpg" alt="Text as it looks when echod"></p>

<p>But within the database, its stored with newlines. </p>

<p>Has anybody else encountered this problem? </p>

<p>Please help me as my project depends on this :|</p>
