RE: [PHP] Trouble with \

From: Date: Thu, 25 Jul 2002 01:47:12 +0000
Subject: RE: [PHP] Trouble with \
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109397@lists.php.net to get a copy of this message
> > Try this function: > > http://www.php.net/manual/en/function.stripslashes.php > > Oddly enough, as I told John, I did that as well and it doesn't work. Are the \ there to escape anything, like ' or " or are they just in there by themselves..as a delimiter or something. If the \ is by itself, then stripslashes() won't do anything to it. Maybe you should just try $newtext = str_replace("\","",$old_text); Without seeing a sample of your file and some more information, all I can give is "snooty" answers, evidently. ---John Holmes...

« previous php.general (#109397) next »