[thelist] Re: XML, anyone? with without PHP?

Mark Gallagher mark at cyberfuddle.com
Mon Apr 22 18:39:00 CDT 2002


Techwatcher wrote:

> I am trying to set up a new site with an eye towards standards, and
> compliance with what I can expect over the next couple of years. (I've
> been coding HTML since early '96, and I'm tired of all the remakes.) I
> decided to code for XHTML compliance, but I am having problems
> selecting scripts (guestbook, forum, chat). My tech support guys are
> totally for PHP over Perl because it reduces the load on the server,
> but I know those <? ...> tags for PHP are not okay for XHTML. Right?

Dunno about XHTML, but theoretically "yes", because they screw up XML
big time.

However, PHP can also be declared thusly:

     <?php ... ?>

Changing your defined PHP sections from <? to <?php will probably make
it easier to read your HTML later, too.


--
Mark Gallagher
http://cyberfuddle.com/infinitebabble/




More information about the thelist mailing list