Well, here's what I got, since I put the data into the table directly it had no extra
slashes so it looked like this '\n' , but when retrieving it i ended up with '\\n'. I
would have expected stripSlashes to work but that turned them into 'n'. Here's what I
did as a workaround:
function strip
Try nl2br().
ie.
$var=nl2br($var);
This replaces \n with
"Ryan Jameson (USA)" <[EMAIL PROTECTED]> said:
> Hi guys, maybe I'm missing something silly but when I retrieve a string
from my SQL server with '\n' in it, they are displayed literally instead of
as line breaks. StripSlashes only