Why doesn't this work...? $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...? I'm using a text string in a javascript, adn it needs to be outbut on one line to work, yet this isn't doing it... Any ideas? ********************************************************************* The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ***********************************************************************