Re: Re: xml tags interfere with php tags

From: Date: Wed, 01 Sep 2004 20:19:49 +0000
Subject: Re: Re: xml tags interfere with php tags
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195458@lists.php.net to get a copy of this message
From: "M. Sokolewicz" <tularis@php.net>
Josh Close wrote:
How do I get an xml tag to work with a php script? <?xml version="1.0"?> php is trying to parse that. -Josh
turn OFF short_open_tag in php.ini, or using the PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're using that).
or echo '<?xml version="1.0"?>'; or <?='<?=xml version="1.0"?>'?> ---John Holmes...

« previous php.general (#195458) next »