I am using PHP eclipse to produce a web page. When I run or RunDebug my small program the PHP part is interpreted but the HTML tags appear as written in the console display. When I run the page using Firefox browser the output is all good. for example: <HTML> <HEAD> <TITLE> Test</Title> </HEAD> <?php echo " PHP comes out." ?> <?HTML> I get the output: <HTML> <HEAD> <TITLE> Test</Title> </HEAD> <BODY> PHP comes out. </BODY> </HTML> Only the PHP code is interpreted correctly. Is the output supposed to appear in console? Thanks.
This is only a guess, but try to use lower case letters in the tags instead of upper case. HTML is case insensetive, but XML and XHTML is case sensetive. And I think that Eclipse is case sensetive as well.