Re: Parsing error when XML version is mentioned
| From: | Suresh Manoharan | Date: | Sun, 25 Jul 2004 21:39:18 +0000 |
| Subject: | Re: Parsing error when XML version is mentioned | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191842@lists.php.net to get a copy of this message | ||
Thanks, Eoghan. It works.
Good learning experience for me. Found more information in the following
links:
http://www.php.net/manual/en/language.basic-syntax.php
http://www.php.net/manual/en/ini.sect.language-options.php#ini.short-open-tag
"Eoghan" <eoghan@redry.net> wrote in message
news:41041D10.1080200@redry.net...
> instead of that line use this
> <?
> echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
> ?>
>
>
> > Can you pls. help me understand why parsing error occurs and how to
avoid
> > it.