Hi everyone maybe this is an easy question for you. For security reasons I have a website that has all .htm extensions that are parsed by PHP.
So here is a sample of my code
do more stuff;
With code style eclipse will sometimes show errors with my PHP code or with my HTML code like <a> tag not closed. Even though my syntax is correct.
Eclipse doesn't seem to be able to parse the PHP code as PHP code and the HTML code as HTML all in one file.
Is there a way to tell eclipse to do this?
Here is a more realistic example of what I get a compiler error on. I get the error "Start tag (<a>) not closed."
<a href="<?=HELP_ERROR_CODE_XX;?>" target="someplace">Error Message</a>