Re: Magic Quotes Problem

From: Date: Fri, 27 Oct 2000 15:32:56 +0000
Subject: Re: Magic Quotes Problem
Groups: php.db 
Request: Send a blank email to php-db+get-3994@lists.php.net to get a copy of this message
You can use stripslashes() regards, kancha On Thu, 26 Oct 2000 10:34:54 -0600, Keith Spiller wrote: > Apparently, Magic Quotes is turned on in the ini file, and so when something as simple as "it's" with an apostrophe is inserted into an input window, the \ is added before it. So that "it's" becomes "it\'s". This is ok if it would display alright, but when a query list the contents of that record, the \' is still there. Is there know way to fix this? We need to be able to insert ' and "s... Do I have to write a special function to scan all strings for \ and strip them out for display? > > Keith _______________________________________________________ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html

« previous php.db (#3994) next »