note 14039 rejected and deleted from function.str-replace.php by zak

From: Date: Sat, 14 Jul 2001 23:25:58 +0000
Subject: note 14039 rejected and deleted from function.str-replace.php by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-15388@lists.php.net to get a copy of this message
I have trouble when replacing <br> from a MySQL query to n. $result = mysql($db_name, "select text from table") or die("Error connecting database"); $text = str_replace("<br>", "n", $text); echo mysql_result($result, 0 ,"text"); doesn't work.

« previous php.notes (#15388) next »