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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 16 December 2007 09:42:27 GMT