Kinney, Monday, February 04, 2002, 9:06:45 PM, you wrote:
KB> Hi, KB> I'm playing with PHP/MySQL for the first time having used Perl and MySQL KB> for years. KB> In one of my first update scripts, PHP is automatically escaping quotes and KB> such, which I assumed was a good thing. KB> However, I'm noticing that MySQL is rejecting statements like: KB> Update faqs SET subject='Adding FAQ\'s' WHERE id=110 ; KB> It also rejects: KB> Update faqs SET subject="Adding FAQ\'s" WHERE id=110 ; KB> I've tested these out on the MySql command line and find the same thing. KB> Rows matched: 1 Changed: 0 Warnings: 0 KB> It finds the row but doesn't make the change. I tested your example and it had worked fine in both cases. KB> Thanks. -- For technical support contracts, goto https://order.mysql.com/ This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php