note 104775 added to function.stripcslashes
| From: | ankitsut at gmail dot com | Date: | Wed, 06 Jul 2011 15:51:11 +0000 |
| Subject: | note 104775 added to function.stripcslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181295@lists.php.net to get a copy of this message | ||
hi all
i want to ask you all something..i created a forum in that when any user post something at that time
fine,but when we edit that post again ,in that when we pressed enter ,at that all places \r\n
comes..
so wen we save that..then all the places \\r\\n coming..
so i put
$Text=stripslashes(str_replace('\r\n', '<br >',$Text));
this function but its only use for 1 slashes now problem is when we edit that post every time time
1 slash increasing
so please tell me how to remove this bug..?
its too urgent..becoz i started my forum and this problem coming..so please mail me or reply here..
----
Server IP: 69.147.83.197
Probable Submitter: 182.156.145.159
----
Manual Page -- http://www.php.net/manual/en/function.stripcslashes.php
Edit -- https://master.php.net/note/edit/104775
Del: integrated -- https://master.php.net/note/delete/104775/integrated
Del: useless -- https://master.php.net/note/delete/104775/useless
Del: bad code -- https://master.php.net/note/delete/104775/bad+code
Del: spam -- https://master.php.net/note/delete/104775/spam
Del: non-english -- https://master.php.net/note/delete/104775/non-english
Del: in docs -- https://master.php.net/note/delete/104775/in+docs
Del: other reasons-- https://master.php.net/note/delete/104775
Reject -- https://master.php.net/note/reject/104775
Search -- https://master.php.net/manage/user-notes.php