[PHP] Re: PHP DOM XHTML - let me set my own javascript from code

2005-10-19 Thread Rob
Petr Smith wrote: but it encloses it to CDATA section automatically like this: script type=text/javascript language=Javascript![CDATA[alert('ddd');]]/script but I need it like this (because otherwise the javascript don't work): script type=text/javascript language=Javascript //![CDATA[

[PHP] Re: PHP DOM XHTML - let me set my own javascript from code

2005-10-19 Thread Petr Smith
Thanks a lot Rob, it's so simple! I don't know why I did't find it myself. Petr Rob wrote: Petr Smith wrote: but it encloses it to CDATA section automatically like this: script type=text/javascript language=Javascript![CDATA[alert('ddd');]]/script but I need it like this (because

[PHP] Re: PHP and XHTML

2001-07-18 Thread Inércia Sensorial
echo ''.?xml version=\1.0\ encoding=\UTF-8\?.''; Also, you may set short open tags off so php is only activated between ?php and ?. -- Julio Nobrega. Because happiness is a warm gun Bang-bang shoot-shoot Daniel Rose [EMAIL PROTECTED] wrote in message