note 22450 added to language.basic-syntax
| From: | stodden at in dot tum dot de | Date: | Tue, 18 Jun 2002 18:51:59 +0000 |
| Subject: | note 22450 added to language.basic-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31988@lists.php.net to get a copy of this message | ||
if you're experiencing problems with php PIs when generating creating mixed php/html content
with e.g. an XSLT processor in html output mode:
it's not the processors fault.
an _SGML_ processing instruction is actually written as <?php ..>, i.e. without a trailing
question mark.
<xsl:processing-instruction name="php">
echo $hello;
</xsl:processing-instruction>
will therefor not not work like it should.
a sane solution to work around this is generating <script> tags instead.
--
http://www.php.net/manual/en/language.basic-syntax.php
http://master.php.net/manage/user-notes.php?action=edit+22450
http://master.php.net/manage/user-notes.php?action=delete+22450
http://master.php.net/manage/user-notes.php?action=reject+22450