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. Magic++ in conjunction with OpenGL
    By maccorin in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 09-28-2004, 08:56 AM
  2. Best Client Quotes
    By cloverm in forum General Chat
    Replies: 5
    Last Post: 12-01-2003, 04:25 PM
  3. Funny Quotes
    By BurntAsh in forum General Chat
    Replies: 6
    Last Post: 06-19-2003, 07:01 PM
  4. The Not So Magic Touch
    By BurntAsh in forum General Chat
    Replies: 5
    Last Post: 01-24-2003, 04:11 PM
  5. Cracking CDs with magic markers
    By coltrane in forum General Chat
    Replies: 6
    Last Post: 05-26-2002, 03:34 AM

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
  •