Magic Quotes Problem
| From: | Keith Spiller | Date: | Thu, 26 Oct 2000 16:34:54 +0000 |
| Subject: | Magic Quotes Problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3959@lists.php.net to get a copy of this message | ||
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