The content of elements must consist of well-formed character data or markup.
错误信息如下:
错误原因:
- 编写xml时,里面出现了特殊字符
解决方法:
.... <= 30 ORDER BY `pro_time` DESC
- 使用<![CDATA[ ]]>符号进行说明,将此类符号不进行解析
<![CDATA[ WHERE DATEDIFF(NOW(),`pro_time`) <= 30 ]]>
MySQL常用转义字符表