phpbar.de logo

Mailinglisten-Archive

[php] explode newline???

[php] explode newline???

Cyrill Schumacher php_(at)_phpcenter.de
Fri, 8 Jun 2001 09:11:37 +0200


>    explode("<br>",nl2br($string));
> 
> gibt's da nicht was eleganteres?

split("/[\r\n]+/",$string);

kiri




php::bar PHP Wiki   -   Listenarchive