Inserting single quotes
| From: | skip evans | Date: | Sat, 07 Jul 2007 03:42:51 +0000 |
| Subject: | Inserting single quotes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-258443@lists.php.net to get a copy of this message | ||
Hey all,
I have the following in a text field in the database.
'u',0,'account',1
One my dev server if I update this in the database I get the same string. On my production server I get this:
\'u\',0,\'account\',1
I thought setting magic_quotes=Off would disable this, but it did not.
Can someone tell me what does this and how to disable it?
Thanks!
--
Skip Evans
Big Sky Penguin
61 W Broadway
Butte, Montana 59701
=-=-=-=-=-=-=-=-=-=-
Check out PHPenguin, a versatile and lightweight
code base for developing PHP/MySQL applications.
phpenguin.bigksypenguin.com