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

The first two characters are opening up a PHP block of code, so you get a
parse error. Either disable short open tags in php.ini, or use

<?
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
?>

---John Holmes...


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

Reply via email to