Upload Error:
UPDATE pages set page_title = 'Test Update', page_description = 'Test Update', page_content = '
This is content! Update!
\r\n' WHERE id =
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 '' at line 1
当我提交表单以更新记录时,如何克服此错误?
答案 0 :(得分:0)
您必须以某种方式对数据进行编码。并在检索时对其进行解码。