Okay, I have a string that looks like this:
$text = "This is some text that has problems.";
It prints out just fine to HTML... but when I put it in an email message it looks like:
This is
some
text
that has
problems
.
There must be some line breaks in the string, and I am having a heck of a time getting them out. Ive tried strip_tags, but my PHP doesnt support. Ive also tried:
$text=preg_replace("/\/n/i","",$text);
$text=preg_replace("/\/r/i","",$text);
These dont seem to work either.
Any help out there?
Thanks!