php在loadxml出错,求助!
我的步骤:
1.从数据库中读数据库生成xml。
2.将这些数据loadxml
--------代码如下
$xml =new DomDocument;
$xml->loadXML($msg);
--------在处理个别记录时,出错下面错误提示,请高人帮忙解决,谢谢!!
Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: input conversion failed due to input error, bytes 0x80 0x94 0xE7 0x85 in D:\www\html.php on line 233
Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: input conversion failed due to input error, bytes 0x80 0x94 0xE7 0x85 in D:\www\html.php on line 233
Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: encoder errorCData section not finished <DIV> 以前在家的时候呢,隔一段时间 in Entity, line: 11 in D:\www\html.php on line 233
Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Premature end of data in tag msg line 11 in Entity, line: 11 in D:\www\html.php on line 233
Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Premature end of data in tag li line 2 in Entity, line: 11 in D:\www\html.php on line 233
Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Premature end of data in tag cook line 1 in Entity, line: 11 in D:\www\html.php on line 233
Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: input conversion failed due to input error, bytes 0xAA 0xE5 0xB7 0xB1 in