PHP Parse error
This question already has an answer here:
It sounds like you have short tags enabled, which will cause PHP to try and parse what comes after <?
.
Set the config option short_open_tag
in php.ini to 0
or Off
and restart Apache.
你有没有检查在php.ini上是否启用/禁用短标签?
It's not a good idea to work with XML as a string.
You should use php XML libraries like http://de.php.net/manual/en/book.dom.php
链接地址: http://www.djcxy.com/p/69678.html上一篇: 在MySQL连接的数据库中插入一行时出现PHP错误代码
下一篇: PHP解析错误