G
Guest
Guest
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.
tim.
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.
tim.