Merlin wrote:
Hi there,

I would like to output following text with php:
<?xml version="1.0" encoding="ISO-8859-1" ?>

How can I do that? I tried to escape the ? with \? but this did
not help.

Either:

1. Turn off short tags (good idea if you plan on distributing your code).

2. Just echo or print that text. Like:

<?php
echo '<?xml version="1.0" encoding="ISO-8859-1"?>' . "\n";
?>

--
Jasper Bryant-Greene
General Manager
Album Limited

http://www.album.co.nz/     0800 4 ALBUM
[EMAIL PROTECTED]          021 708 334

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

Reply via email to