W3C validation and PHP
I have a website that uses HTML5 and PHP. I use DW 21.
When I submit the pages to W3C validation, any page with a <?PHP> tag on it generates a validation error.
For example, this line <?php if (!isset($_SESSION)) { session_start(); } ?> generates this validation error:
Error C:\xampp\htdocs\Partnership\index.php Saw <? . Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.) 2
I'm sure this is because the php commands have not been stripped out before it gets to the validator. Is there a way to avoid these errors?

