On Mon, 23 Jun 2003 13:22:40 -0400, you wrote:

>
>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?

"<?" opens a php block. Then the PHP interpreter attempts to parse "xml
version="1.0" encoding="UTF-8""

try

<? echo ('<?xml version="1.0" encoding="UTF-8"?>' . "\r\n"); ?>

or turning short tags off.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to