Re: PHP and XHTML
| From: | Chris Sano | Date: | Sun, 20 May 2001 19:28:42 +0000 |
| Subject: | Re: PHP and XHTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53627@lists.php.net to get a copy of this message | ||
XHTML is just making your HTML documents XML ready. This means closing your
tags, etc..
And Rasmus is right when he says PHP is 100% compatible with XHTML.
-C
<dempsejn@georgetown.edu> wrote in message
news:25e8e2c294.2c29425e8e@georgetown.edu...
> 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 those lines....
>
> -jack
>
> ----- Original Message -----
> From: Rasmus Lerdorf <rasmus@php.net>
> Date: Friday, May 18, 2001 6:59 pm
> Subject: Re: [PHP] PHP and XHTML
>
> > > 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 of the deprecated NAME tag. But PHP
> > depends on
> > > the NAME 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.
> >
> > -Rasmus
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-
> > admin@lists.php.net
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>