Results 1 to 3 of 3

Thread: PHP/MySQL Magic Quotes

  1. #1

    PHP/MySQL Magic Quotes

    Okay, PHP is enabled with Magic Quotes (so you don't have to escape funky characters in MySQL data). Works perfectly fine with an INSERT statement, doesn't work at all with an UPDATE statement. I still have to use addslashes() when updating a MySQL row. Is this normal or am I missing something?

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    472

    Re:PHP/MySQL Magic Quotes

    I'd say that good programming practice would be to not depend on magic quotes, and write your code as portable as possible.

  3. #3

    Re:PHP/MySQL Magic Quotes

    and that explains why my coding team (me) always lose our games

Similar Threads

  1. Partition Magic for Windows XP??
    By in forum Windows - General Topics
    Replies: 4
    Last Post: 01-07-2004, 02:50 AM
  2. Funny Quotes
    By BurntAsh in forum General Chat
    Replies: 6
    Last Post: 06-19-2003, 07:01 PM
  3. Open Source equivilent to Partition Magic
    By kornp in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 12-27-2002, 03:48 PM
  4. Good PHP/MySQL for a code newbie
    By airhead in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 09-13-2002, 10:45 AM
  5. Great Quotes from Great Skeptics
    By JimH in forum General Chat
    Replies: 1
    Last Post: 02-16-2002, 04:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •