silly question about carriage returns



i'm running a website which basically is a big database of news articles.

when i input the news articles, they have carriage returns (between paragraphs, for example.) i'm storing the text in MySQL as text. however, when i pull that information from the database and display it on a webpage it shows up without any carriage returns.

is there a way to fix this?
i've though of swapping the carriage return with the <br> but i dont know how to id a carriage return in PHP or if this is even on the right track.

any help would be greatly appreciated.

A carriage return is \r, a new line is \n! Identify what your script is using and then change it to <br> to replace the new lines for <br>

Or you can use the nl2br() function