Php 警告:simplexml加载字符串()[函数.simplexml加载字符串]:<;校正技术>;第9行
我在代码方面遇到了一些问题,请帮助我。。我将非常感谢你Php 警告:simplexml加载字符串()[函数.simplexml加载字符串]:<;校正技术>;第9行,php,Php,我在代码方面遇到了一些问题,请帮助我。。我将非常感谢你 $category = ' <?xml version='1.0' ?> <document> <Astronomy> <items>milky way, comet</items> </Astronomy> <Business> <items>abilities, accelerated benefits</i
$category = '
<?xml version='1.0' ?>
<document>
<Astronomy>
<items>milky way, comet</items>
</Astronomy>
<Business>
<items>abilities, accelerated benefits</items>
</Business>
<Corrections Technology>
<items>accomplice, addiction, agent</items>
</Corrections Technology>
</document>';
$category = simplexml_load_string($category);
$category=
银河彗星
能力、加速福利
共犯、瘾君子、代理人
';
$category=simplexml\u load\u字符串($category);
是无效的xml标记
标记名中不能有空格