note 58159 added to function.stripslashes
| From: | alf at mitose dot net | Date: | Wed, 26 Oct 2005 00:09:35 +0000 |
| Subject: | note 58159 added to function.stripslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-97604@lists.php.net to get a copy of this message | ||
Take care using stripslashes() if the text you want to insert in the database contain \n characters
! You'll see "n" instead of (not seeing) "\n".
It should be no problem for XML, but is still boring ...
----
Manual Page -- http://www.php.net/manual/en/function.stripslashes.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58159
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58159&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58159&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58159&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58159&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58159&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58159&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58159&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58159&report=yes
Search -- http://master.php.net/manage/user-notes.php