Hello,
I need a script to convert text from a Word doc that is cut and pasted in an input window and then placed in a table variable. The variable is then used as part of an e-mail to be sent out.
The problem I'm having is converting the <br /> to \n and visa-versa. I know about n2bl.
The statement I'm currently using is not replacing all the <br > with \n -- I'm not sure why.
$newsletter = str_replace("<br />", " \n", $newsletter);
Is there a cleaner way of doing this, or some script that someone knows about?
Thanks,
Gary