note 10065 modified in nl2br by ronabop

From: Date: Tue, 12 Dec 2000 07:37:50 +0000
Subject: note 10065 modified in nl2br by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-8632@lists.php.net to get a copy of this message
Well, there's some major issues with NewLine codes vs OS (win, linux, mac). Here is what I use : $s_data = ereg_replace("(\r\n)|(\n)|(\r)", "*br*", $s_data); So far it worked great for me. Greets, EiGHTRAKS http://www.php.net/manual/function.nl2br.php

« previous php.notes (#8632) next »