note 28255 added to function.str-replace

From: Date: Tue, 07 Jan 2003 12:30:12 +0000
Subject: note 28255 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-41787@lists.php.net to get a copy of this message
Sorry my earlier message was incorrect. After much MUCH adue, I realized that I was replacing the \n THEN trying to replace the \r\n which no longer existed because the \n's were spaces. Im pretty mad about all the time I wasted but it seems that replacing \r\n is the correct way to replace [ENTER] key presses from TEXTAREA INPUT submissions of a form. Sorry for the misinformation earlier. -- http://www.php.net/manual/en/function.str-replace.php http://master.php.net/manage/user-notes.php?action=edit+28255 http://master.php.net/manage/user-notes.php?action=delete+28255 http://master.php.net/manage/user-notes.php?action=reject+28255

« previous php.notes (#41787) next »