现在,当我提交角色时,'我得到下面列出的以下错误,然后当我提交单词时一切正常.我正在使用htmlentities(),我仍然得到这个错误.
如何防止此错误发生是否有一种方法可以允许或转换或停止'显示为错误的字符表单?
这是我得到的错误.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '''')'
Run Code Online (Sandbox Code Playgroud)