For making newlines passed from forms into HTML BR tags, use nl2br().
The newline character is \n, carriage return is \r.