Bug #17252: addslashes not working on double quotes
| From: | martinedubling at yahoo dot com | Date: | Wed, 15 May 2002 16:05:41 +0000 |
| Subject: | Bug #17252: addslashes not working on double quotes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7762@lists.php.net to get a copy of this message | ||
From: martinedubling@yahoo.com
Operating system: windows 95
PHP version: 4.0CVS-2002-05-15
PHP Bug Type: Unknown/Other Function
Bug description: addslashes not working on double quotes
Hi,
The addslashes functions isn't working on the double quotes.
example:
$tmp = addslashes(t'es"t);
print($tmp);
gives a parse error...
i'm using php 4.0 - win32, mysql and apache version 1.3
Could you help me fix my problem?
Martine
--
Edit bug report at http://bugs.php.net/?id=17252&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17252&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17252&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17252&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17252&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17252&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17252&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17252&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17252&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17252&r=globals