note 39462 deleted from function.strtr by didou

From: Date: Thu, 29 Jan 2004 12:58:40 +0000
Subject: note 39462 deleted from function.strtr by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64374@lists.php.net to get a copy of this message
Note Submitter: info@jdmedia.nl ---- This is a handy and simple code to change hard returns from your SQL database to HTML-returns: $addreturns = array ("\n" => '<br>'); $withreturns = strtr($row[0], $addreturns) . "\n";

« previous php.notes (#64374) next »