Re: addslahes and magic quote woes
| From: | Jean-Christian Imbeault | Date: | Wed, 03 Jul 2002 14:02:09 +0000 |
| Subject: | Re: addslahes and magic quote woes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105189@lists.php.net to get a copy of this message | ||
Martin Clifford wrote:
Try stripslashes() before addslashes(), to ensure that it doesn't already contain slashes.
HTH MartinBut what if the original data contained a slash? I want to keep that slash in the data ... Jc