note 41129 added to function.addslashes
| From: | php-general at lists dot php dot net | Date: | Wed, 31 Mar 2004 08:25:12 +0000 |
| Subject: | note 41129 added to function.addslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67403@lists.php.net to get a copy of this message | ||
A comment to Luca:
"(example: at first encoding, the single quote becomes \' but without that control in the
next page it would became \\' and so on)"
That's not entirely correct as the backslash itself is escaped, so double addslashes would give
you \\\' and _not_ just \\' ...
----
Manual Page -- http://www.php.net/manual/en/function.addslashes.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41129
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41129&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41129&report=yes
Search -- http://master.php.net/manage/user-notes.php