[PHP] Re: xml tags interfere with php tags
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). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: xml tags interfere with php tags
Just do it like this: ?php echo '?xml version=1.0?'; ? 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 -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --- PGP Key ID: 0x3968B5EE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: xml tags interfere with php tags
From: M. Sokolewicz [EMAIL PROTECTED] 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... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: xml tags interfere with php tags
?='?xml version=1.0?'? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php