RE: [PHP] xml declaration

From: Date: Fri, 13 Sep 2002 13:36:37 +0000
Subject: RE: [PHP] xml declaration
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116275@lists.php.net to get a copy of this message
[snip] When I do that PHP complains about the <?xml .. > <?php > echo '<?xml version="1.0" encoding="UTF-8"?>' . > "\n"; > ?> > > What's everyone else do? I'm not missing something here am I?? :) [/snip] Try <?php print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); ?> I just copied this from a page that I have that validates properly HTH! Jay

« previous php.general (#116275) next »