[PHP-DB] Re: [PHP] PHP & XML
I thought that short tags were illegal in XHTML and XML. But I could be wrong. On Friday, December 7, 2001, at 01:53 PM, Steve Haemelinck wrote: > Hi Guys > > I am developing with PHP and XML. Now I experience some problem with the > processing instructions of xml () > which causes PHP to return a parsing error. > This is logical because for > PHP. Does anybody got an idea how to solve this problem without > disabling > the short-tags in the php.ini fiel ? > > Thx > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] Re: [PHP] PHP & XML
You could also do it like: ' ?> Mike Steve Haemelinck wrote: >Hi Guys > >I am developing with PHP and XML. Now I experience some problem with the >processing instructions of xml () >which causes PHP to return a parsing error. >This is logical because PHP. Does anybody got an idea how to solve this problem without disabling >the short-tags in the php.ini fiel ? > >Thx > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] Re: [PHP] PHP & XML
No, you need to disable short_tags and use for all your PHP tags if you are going to mix PHP and XML tags in the same file. -Rasmus On Fri, 7 Dec 2001, Steve Haemelinck wrote: > Hi Guys > > I am developing with PHP and XML. Now I experience some problem with the > processing instructions of xml () > which causes PHP to return a parsing error. > This is logical because PHP. Does anybody got an idea how to solve this problem without disabling > the short-tags in the php.ini fiel ? > > Thx > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]