note 10369 added to str_replace

From: Date: Fri, 29 Dec 2000 22:43:26 +0000
Subject: note 10369 added to str_replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-9180@lists.php.net to get a copy of this message
For some reason $NewsPost = str_replace("\n", " ", $NewsPost); will not remove the endlines from $NewsPost - this is on a version 4 interpreter http://www.php.net/manual/function.str-replace.php

« previous php.notes (#9180) next »