Hallo Daniel,
zu daniel: die Funktion nl2br() hat einen nachteil:
sie macht <br /> anstatt <br>, was z.B. beim reumwandeln
Probleme macht.
das wußte ich nicht - wie bekomme ich dann einen
zeilenumbruch hin? und was meinst du genau mit reumwandeln?
Ist ja ein Zeilenumbruch nur in XHTML. (<br />) Mit reumwandeln
meinte Phillip das du die wieder zu normalen <br> schreiben kannst.
To convert break tags to newlines, use the following code snippet:
/* Convert all standard and XHTML-compliant
tags to newlines */
$string = eregi_replace('<br[[:space:]]*/?[[:space:]]*>',"\n", $string);
http://www.php.net/manual/de/function.nl2br.php
gruesse aus'm RuhrPott
jens mueller