puts "Hallo " + gets.chomp + "."
?> Sam
=> Hallo Sam.
[...]aber jetzt hab' ich das Problem, dass die Zeilenumbrüche zwar umgesetzt werden, aber im ausgegebenen Text dann folgender Tag erscheint: <br />
Der Text wird so geparst:
include("textparser.php");
$text=nl2br(parse_text(htmlentities($text)));
>
> [...]
>
> [/code]
Du weißt, was [nl2br](http://de2.php.net/manual/de/function.nl2br.php)() macht?
Einen schönen Montag noch.
Gruß, Ashura
--
Selfcode: sh:( fo:) ch:? rl:( br:^ n4:& ie:{ mo:) va:) de:> zu:) fl:( ss:| ls:[ js:|
[30 Days to becoming an Opera8 Lover](http://operalover.tntluoma.com/8/) -- [Day 20: search.ini](http://operalover.tntluoma.com/8/day_20_searchini)
Meine Browser: Opera 8.01 | Firefox 1.0.4 | Lynx 2.8.3 | Netscape 4.7 | IE 6.0
[\[Deshalb frei! - Argumente pro freie Software\]](http://deshalbfrei.org/)