Re: <?xml version=
| From: | David Nicholson | Date: | Mon, 23 Jun 2003 17:23:31 +0000 |
| Subject: | Re: <?xml version= | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152520@lists.php.net to get a copy of this message | ||
Hello,
This is a reply to an e-mail that you wrote on Mon, 23 Jun 2003 at 18:18,
lines prefixed by '>' were originally written by you.
> When I include <?xml version="1.0" encoding="UTF-8"?> in my html
> code, I get a parse error. The version is 4.1.2; phpinfo() reports
> that XML support is turned on. Can anyone help with this?
> Doug
Make sure that you correctly escape the <? or PHP will interperate it as
an opening PHP tag. The other alternative is to disable short opening tag
support in php.ini.
HTH
David.
--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Professional Web Development by David Nicholson
http://www.djnicholson.com/
QuizSender.com - How well do your friends actually know you?
http://www.quizsender.com/
(developed entirely in PHP)