Re: xml tags interfere with php tags
| From: | Ben Ramsey | Date: | Wed, 01 Sep 2004 19:37:46 +0000 |
| Subject: | Re: xml tags interfere with php tags | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195453@lists.php.net to get a copy of this message | ||
Just do it like this:
<?php
echo '<?xml version="1.0"?>';
?>
Josh Close wrote:
How do I get an xml tag to work with a php script? <?xml version="1.0"?> php is trying to parse that. -Josh-- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --------------------------------------------------- PGP Key ID: 0x3968B5EE