W3C home > Mailing lists > Public > www-validator@w3.org > December 2007

Valid XHTML and PHP

From: Scott Andersen <sanderson113@cox.net>
Date: Fri, 14 Dec 2007 18:19:56 -0700
To: <www-validator@w3.org>
Message-ID: <000001c83eb8$9b0ec480$d12c4d80$@net>
Hello. I have some php code in my  XHTML documents and every time I validate
my code, I get error messages on the lines that have the PHP code. If I take
the PHP code out and insert the XHTML, the page(s) validate. Is there a way
around this or to have the validator ignore the php code? I have php code in
order to ease updating information such as navigation bars, etc..and I don't
really want to have to edit every singe page if I make a change to a
navigation bar. I would also like to advertise on my pages that my code is
valid XHTML and CSS. Thanks


Scott Andersen


NOTE: Whenever possible, give the address of the document you were checking.
Received on Sunday, 16 December 2007 03:50:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:54 UTC