note 5341 modified in nl2br by zak

From: Date: Fri, 29 Dec 2000 23:35:36 +0000
Subject: note 5341 modified in nl2br by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9207@lists.php.net to get a copy of this message
i had the "black box" problem. i now use <br> $text = str_replace("\r\n","<br>",$text); <br> which seems to work (what the heck is \r !?) http://www.php.net/manual/function.nl2br.php

« previous php.notes (#9207) next »