try this

print "<\?xml version=\"1.0\"\?>";


This might fix it.    

----- Original Message ----- 
From: "Steven Apostolou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 6:33 AM
Subject: [PHP] outputting xml declaration


> Hello,
> 
> The folowing code gives an error:
> 
> print "<?xml version=\"1.0\"?>";
> 
> This is probably because I print a questionmark? How can I avoid that an
> error is generated?
> 
> Besides it's not an error in the way that it gives an errorstring but it
> writes the output in the error_log of apache...
> 
> Greetings,
> 
> -- 
> Steven Apostolou <[EMAIL PROTECTED]>
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


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

Reply via email to