Hi,
I'm trying to convert a body of text that contains paragraphs, to html. I've tried using the following code:
$body = join("<br>", split("\n", $body));
but it's as if it can't find any "\n". Is this right? Or should I be replacing something else?
Thanks for any help,
~Oni.