<?php $str = nl2br("foo\nbar"); // nl2br doesn't remove the \n $str = str_replace("\n", "", $str); echo nl2br($str); ?>
You have javascript disabled. You will not be able to edit any code.