Re: usage of php & <script> tags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert Cummings wrote:
On Tue, 2005-03-08 at 10:55, Jochem Maas wrote:

I sure I'm not the only one on this list that reads php-internals
after reading the thread entitled:

""

I'm wondering if anyone here has _ever_ used the <script> tags
to enclose php code? e.g.:


<script language="php">

echo "testing 123";

</script>


My template compiler outputs the script tags exclusively since they are
XML compliant.

I wonder now if I don't understand XML's Processing Instructions [1]. And <, > and & are not compliant anyway.



[1] http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-pi

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux