You are here: Re: [PHP] usage of php & <script> tags « PHP « IT news, forums, messages
Re: [PHP] usage of php & <script> tags

Posted by Marek Kilimajer on 03/09/05 02:27

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация