you can always print like so... print '<?xml version="1.0"?>';
Then the parser does not try to parse inside the line. However, I dont know what will happen when you have short_open_tags in your php.ini file turned on...i usually turn it all of.. -- BigDog On Wed, 2003-07-02 at 07:33, Steven Apostolou wrote: > 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