[PHP] Pesky quotes

2001-10-03 Thread René Fournier
A little problem with single quotes messing up an SQL SET statement... I can type single quotes, double quotes--it seems, any 'special' character--into a form, and so long as my PHP script tries to INSERT, UPDATE or DELETE said row into the table, no problem. But when I try to DUPLICATE a row

Re: [PHP] Pesky quotes

2001-10-03 Thread Philip Olson
I don't understand this question, maybe you're looking for : http://www.php.net/addslashes http://www.php.net/stripslashes http://www.php.net/manual/en/configuration.php#ini.magic-quotes-gpc Looks like you have magic_quotes_gpc enabled. Adjust accordingly. Using addslashes() on a string