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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php