Hi, > > $body = " > > <p>blurb blah > > <p>happy days > > <p>end of text"; > > > > $body = trim($body); > > > > $body now should output: > > "<p>blurb blah\n<p>happy days\n<p>end of text" but it > > doesn't...?
does trim($body, "0x0A") fix your problem? Do you want to strip everything and leave \n in there? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php