RE: [PHP] XHTML and PHP

From: Date: Sat, 29 Sep 2001 07:20:28 +0000
Subject: RE: [PHP] XHTML and PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69259@lists.php.net to get a copy of this message
In your php.ini you should find; ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. short_open_tag = On Set it to Off and see how you go. HTH Andrew Braund > -----Original Message----- > From: Navid Yar [mailto:NavidYar2@home.com] > Sent: Saturday, 29 September 2001 17:05 > To: php-general@lists.php.net > Subject: [PHP] XHTML and PHP > > > Hello intelligent folks... > > I have a problem with XHTML and PHP > > The first line of an XHTML document must include an XML processing > instruction, as such: > <?xml version="1.0" encoding="UTF-8"?> > > But PHP will parse it as PHP code because of the question marks. How do I > get around this problem? I don't want PHP to read that element as PHP, I > want it to leave it alone the way it is. I tried echoing the tag and

« previous php.general (#69259) next »