Re: xml tags interfere with php tags
| From: | Matt M. | Date: | Wed, 01 Sep 2004 20:35:38 +0000 |
| Subject: | Re: xml tags interfere with php tags | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195466@lists.php.net to get a copy of this message | ||
On Wed, 1 Sep 2004 13:08:11 -0500, Josh Close <narshe@gmail.com> wrote:
> How do I get an xml tag to work with a php script?
>
> <?xml version="1.0"?>
>
> php is trying to parse that.
you could just echo it at the top
<?php echo '<?xml version="1.0"?>';?>