- From: David Dorward <david@dorward.me.uk>
- Date: Sun, 16 Dec 2007 09:41:52 +0000
- To: Scott Andersen <sanderson113@cox.net>
- Cc: <www-validator@w3.org>
On 15 Dec 2007, at 01:19, Scott Andersen wrote: > 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? No. The Markup Validator is designed to validate markup - not the source code of programs that, when run, will produce markup. Execute the PHP and test the generated code instead. -- David Dorward http://dorward.me.uk/ http://blog.dorward.me.uk/
Received on Sunday, 16 December 2007 09:42:22 UTC