nl2br

(PHP 3, PHP 4 >= 4.0.0)

nl2br -- Converteert newlines naar HTML line breaks

Omschrijving

string nl2br (string string)

Geeft string met '<BR>' ingevoegd voor alle newlines.

Zie ook htmlspecialchars(), htmlentities() en wordwrap().