nl2br doesn't always work if you submit html in a textarea.
//replaces r or n with <br>
$something = str_replace("rn|r|n", "<br>", $something)
pffff why not use:
$something = nl2br($something);
there are some reasons why you can't use that. mainly if the webmaster has it set to submit html tags and such in a textarea the nl2br will not work correctly. So you have to follow that snippet of code.
Adding your comment. Please wait...
Thanks for adding your comment!. After further review it will be added.
There was a problem adding your comment. Please try again.
Please complete all the fields in the form before sending.