[Solved] PHP Include not working – php too complex? [closed]


My guess: Your “html” file is actually named something.html, which causes the webserver to not recognize it as PHP. Rename it into something.php.

To verify that this was the problem, check the source of your HTML page, you should see the literal PHP code displayed there.

solved PHP Include not working – php too complex? [closed]