Thread Auselesen (10 answers)
Opened by haijp at 2006-04-28 13:21

nepos
 2006-04-28 16:06
#7459 #7459
User since
2005-08-17
1420 Artikel
BenutzerIn
[Homepage] [default_avatar]
Code: (dl )
$text =~ s/\r?\n/<br>/sg;

ersetzt alle Zeilenumbrueche in den HTML-Zeilenumbruch. Quasi sowas, wie in PHP nl2br macht.

View full thread Auselesen