Re: addslahes and magic quote woes

From: 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 Martin
But what if the original data contained a slash? I want to keep that slash in the data ... Jc

« previous php.general (#105189) next »