Mysql + php with special characters like '(Apostrophe) and " (Quotation mark)

后端 未结 7 549
礼貌的吻别
礼貌的吻别 2020-12-10 05:28

I have been struggling with a small problem for a while. It\'s been there for years but it\'s just been an irritating problem and not a serious one, and I have just worked a

7条回答
  •  囚心锁ツ
    2020-12-10 05:58

    Escape the string :D

    http://php.net/manual/en/function.mysql-real-escape-string.php

提交回复
热议问题