Re: usage of php & <script> tags

From: Date: Wed, 09 Mar 2005 00:27:19 +0000
Subject: Re: usage of php & <script> tags
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-210270@lists.php.net to get a copy of this message
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

« previous php.general (#210270) next »