I have a text area which is the body of an email message.
$body = 'Congrats, Line 2 Line 3';
$new = str_replace(' ','<br />', $body)
I am trying to replace all instances of
which is a linebreak in the text area field but it doesnt appear to be working.
The end result needs to generate an HTML email with <br />
's but in the text area, I dont want it to show html.