The line breaks may be there, but HTML will not render them.
Try this:
$outputstring = nl2br($stringfromDB);
print(p$outputstring/p);
or something like this to see if the newlines will convert to br and
render correctly.
John
On Fri, 6 Jul 2001, Mat Marlow wrote:
-Hi all,
-(I'm not
Ive encountered this at my last job and we were using perl as our backend.
Before inserting into the database, check for \n or \r and replace with
a combo of chars that are mostly likely not to be typed into the text field.
Examples: ][, or |43; or whatever...
Then when you reread back from the