Re: outputting xml declaration

From: Date: Wed, 02 Jul 2003 15:14:58 +0000
Subject: Re: outputting xml declaration
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153722@lists.php.net to get a copy of this message
try this print "<\?xml version=\"1.0\"\?>"; This might fix it. ----- Original Message ----- From: "Steven Apostolou" <stevena@xs4all.nl> To: <php-general@lists.php.net> 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 <stevena@xs4all.nl> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#153722) next »