mysqli real_escape_string problem

Posted by tridat on Stack Overflow See other posts from Stack Overflow or by tridat
Published on 2010-04-03T07:01:00Z Indexed on 2010/04/03 7:03 UTC
Read the original article Hit count: 261

When im inserting to the database on my dev server the text goes in fine, for example "that's" is "that's" in the db.

when uploading the exact same code to production server (hosted on a reseller account at bluehost) "that's" becomes "that\'s",

im not double escaping, its exactly the same code, what could be the issue here?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysql-real-escape-string