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

2005-10-18 Thread Petr Smith
Hi, I have problem with PHP DOM extension. How can I add my own javascript to javascript tag? I tried it using this code $html = !DOCTYPE html PUBLIC \-//W3C//DTD XHTML 1.0 Strict//EN\ \http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\;\n . \n . html

Re: [PHP] PHP and XHTML

2002-01-28 Thread Erik Price
On Saturday, January 26, 2002, at 05:49 PM, ,,, wrote: When I have an ? xml version=1.0 ? inside my php script it wont work since php parses it as php code. Will short_open_tag = Off solve it? I would really like to use ? ? for the rest of my php code...there must be a better solution

Re: [PHP] PHP and XHTML

2002-01-28 Thread bvr
Then why not do this : ? echo(? xml version=1.0 ?); ? bvr. On Mon, 28 Jan 2002 18:49:18 -0500, Erik Price wrote: On Saturday, January 26, 2002, at 05:49 PM, ,,, wrote: When I have an ? xml version=1.0 ? inside my php script it wont work since php parses it as php code. Will

[PHP] PHP and XHTML

2002-01-26 Thread ,,,
When I have an ? xml version=1.0 ? inside my php script it wont work since php parses it as php code. Will short_open_tag = Off solve it? I would really like to use ? ? for the rest of my php code...there must be a better solution than Short_open_tag regards, Cyth -- PHP General Mailing

[PHP] PHP and XHTML

2002-01-26 Thread Frans Englich
When I have an ? xml version=1.0 ? inside my php script it wont work since php parses it as php code. Will short_open_tag = Off solve it? I would really like to use ? ? for the rest of my php code...there must be a better solution than Short_open_tag regards, Cyth -- PHP General Mailing

Re: [PHP] PHP and XHTML

2002-01-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then ,,, blurted When I have an ? xml version=1.0 ? inside my php script it wont work since php parses it as php code. Will short_open_tag = Off solve it? I would really like to use ? ? for the rest of my php code...there must be a

Re: [PHP] PHP and XHTML

2002-01-26 Thread Jeff Sheltren
Hi. Have you tried something like: ? echo(? xml version=\1.0\ ?\n); ? I've not tried using xml php, but that may work... Jeff - Original Message - From: Frans Englich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 26, 2002 2:53 PM Subject: [PHP] PHP and XHTML When

Re: [PHP] PHP and XHTML

2002-01-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Jeff Sheltren blurted Hi. Have you tried something like: ? echo(? xml version=\1.0\ ?\n); ? *Good* idea, tell us if it works! - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com

Re: [PHP] PHP and XHTML

2002-01-26 Thread Frans Englich
This works just perfectly: ?echo(?xml version=\1.0\?); ? regards, Cyth --- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Jeff Sheltren blurted Hi. Have you tried something like: ? echo(? xml version=\1.0\ ?\n); ? *Good* idea, tell us if it

Re: [PHP] PHP and XHTML

2002-01-26 Thread Tom Rogers
Hi use single quotes and it is simpler echo '?xml version=1.0?'; Tom At 09:40 27/01/02, Frans Englich wrote: This works just perfectly: ?echo(?xml version=\1.0\?); ? regards, Cyth --- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Jeff Sheltren

Re: [PHP] PHP and XHTML

2001-07-18 Thread Zak Greant
Hi Daniel, Set short_open_tag = Off in your php.ini file and the problem will go away. --zak Rose, Daniel wrote: Hi, I have looked through the history of the list, and I see that several people have said that PHP fully supports XHTML. I have some problems using XHTML with PHP, namely parse

[PHP] PHP and XHTML

2001-07-17 Thread Rose, Daniel
Hi, I have looked through the history of the list, and I see that several people have said that PHP fully supports XHTML. I have some problems using XHTML with PHP, namely parse errors, such as a parse error on the first line of every XHTML doc. ?xml version=1.0 encoding=UTF-8? Version of PHP

Re: [PHP] PHP and XHTML

2001-05-21 Thread Christian Reiniger
On Sunday 20 May 2001 20:51, Manuel Lemos wrote: Hello Navid, On 20-May-01 14:36:33, you wrote: So you suggest that I use the name attribute in XHTML and ignore the fact that it has been depreciated and replaced by the ID attribute? Will that solve my problem? It depends. If what is

Re: [PHP] PHP and XHTML

2001-05-20 Thread Manuel Lemos
in forms, etc. Is there any way around this? Has anyone used XHTML and PHP together successfully, and if so how did you get around the previously mentioned problem? Any help woould be much appreciated, thanks in advance. That's not a PHP problem. PHP just processes form values sent by the browser

RE: [PHP] PHP and XHTML

2001-05-20 Thread Navid Yar
AM To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP and XHTML Hello Navid, On 18-May-01 19:44:55, you wrote: I would like to start using the XHTML syntax for my future projects, but I heard that PHP is not compatible with XHTML. For example, in XHTML the ID attribute is used in place

RE: [PHP] PHP and XHTML

2001-05-20 Thread Manuel Lemos
the ID attribute or not. http://phpclasses.UpperDesign.com/browse.html/package/1 Manuel Lemos Navid Yar -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 20, 2001 11:49 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP and XHTML Hello Navid, On 18-May

Re: [PHP] PHP and XHTML

2001-05-20 Thread Chris Sano
t saying php won't work with XHTML akin to saying php won't work with javascript1.3, dhtml, netscape 6 etc? php generates code...html, dhtml, whatever...i fail to see how php couldn't generate what anyone would need for XHTML, or anything else along those lines -jack - Original

[PHP] PHP and XHTML

2001-05-18 Thread Navid Yar
this? Has anyone used XHTML and PHP together successfully, and if so how did you get around the previously mentioned problem? Any help woould be much appreciated, thanks in advance. Navid Yar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] PHP and XHTML

2001-05-18 Thread Rasmus Lerdorf
anyone used XHTML and PHP together successfully, and if so how did you get around the previously mentioned problem? Any help woould be much appreciated, thanks in advance. Completely false. PHP works fine with XHTML. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] PHP and XHTML

2001-05-18 Thread dempsejn
i won't pretend to be an XML guru, but isn't saying php won't work with XHTML akin to saying php won't work with javascript1.3, dhtml, netscape 6 etc? php generates code...html, dhtml, whatever...i fail to see how php couldn't generate what anyone would need for XHTML, or anything else along

Re: [PHP] PHP and XHTML

2001-05-18 Thread Brian Clark
attribute in forms, etc. Is there any way around this? Has anyone used XHTML and PHP together successfully, and if so how did you get around the previously mentioned problem? Any help woould be much appreciated, thanks in advance. Completely false. PHP works fine with XHTML. In fact, I