Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-24 Thread Doug Essinger-Hileman
On 24 Jun 2003 at 4:33, Philip Olson wrote: No. (btw, be sure to quote your strings). In reading the table found here: Thanks. That is a mistake I make frequently. The good thing about that is that if there is an error the first thing I look for is whether I have quoted my strings. ;-}

[PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread Doug Essinger-Hileman
When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on. Can anyone help with this? Doug -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread Milan Reznicek
It may happen because your HTML is not written in an XML standard. - Original Message - From: Doug Essinger-Hileman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 23, 2003 7:22 PM Subject: [PHP] ?xml version=1.0 encoding=UTF-8 When I include ?xml version=1.0 encoding=UTF

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread John Nichel
Doug Essinger-Hileman wrote: When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on. Can anyone help with this? Doug Do you have short tags disabled in you php.ini? If not, try turning it off,

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread David Otton
On Mon, 23 Jun 2003 13:22:40 -0400, you wrote: When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on. Can anyone help with this? ? opens a php block. Then the PHP interpreter attempts to

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread CPT John W. Holmes
When I include ?xml version=1.0 encoding=UTF-8? in my html code, I get a parse error. The version is 4.1.2; phpinfo() reports that XML support is turned on. Can anyone help with this? The first two characters are opening up a PHP block of code, so you get a parse error. Either disable short

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread Doug Essinger-Hileman
On 23 Jun 2003 at 13:22, CPT John W. Holmes wrote: The first two characters are opening up a PHP block of code, so you get a parse error. Either disable short open tags in php.ini, I don't have access to php.ini. Can I do this on a script by script basis with ini_set(short_open_tag, off)

Re: [PHP] ?xml version=1.0 encoding=UTF-8

2003-06-23 Thread Philip Olson
On Mon, 23 Jun 2003, Doug Essinger-Hileman wrote: On 23 Jun 2003 at 13:22, CPT John W. Holmes wrote: The first two characters are opening up a PHP block of code, so you get a parse error. Either disable short open tags in php.ini, I don't have access to php.ini. Can I do this on a