Re: PHP and XHTML

From: Date: Fri, 18 May 2001 23:23:23 +0000
Subject: Re: PHP and XHTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53498@lists.php.net to get a copy of this message
Hi Rasmus, @ 6:59:09 PM on 5/18/2001, Rasmus Lerdorf 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 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. In fact, I wrote a Swiss Army Chain Saw type of class, that started out as an XHTML class of sorts, to speed up my development. Navid, are you sure you aren't confusing XHTML with XML? -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies.

« previous php.general (#53498) next »