加載xml文件的時(shí)候出錯(cuò)
老師,如何我不是加載的從數(shù)據(jù)庫得到的數(shù)據(jù),加載xml文件的時(shí)候沒有出錯(cuò),但是當(dāng)我加載的是數(shù)據(jù)庫的文件時(shí)候叫報(bào)錯(cuò)error on line 2 at column 1: Extra content at the end of the document,這是怎么回事呢
老師,如何我不是加載的從數(shù)據(jù)庫得到的數(shù)據(jù),加載xml文件的時(shí)候沒有出錯(cuò),但是當(dāng)我加載的是數(shù)據(jù)庫的文件時(shí)候叫報(bào)錯(cuò)error on line 2 at column 1: Extra content at the end of the document,這是怎么回事呢
2015-08-04
舉報(bào)
2018-02-03
error_reporting(E_ALL ^ E_DEPRECATED);php代碼加上錯(cuò)誤級(jí)別顯示 就可以了
2016-07-07
可能是XML格式有問題,看下你的節(jié)點(diǎn)是不是沒有閉合?