nl2br

(PHP3 , PHP4 )

nl2br -- Converts newlines to HTML line breaks

Description

string nl2br (string string)

Returns string with '<BR>' inserted before all newlines.

See also htmlspecialchars(), htmlentities() and wordwrap().


Hosted by Tonec Inc.