Include shows nothing

I have a PHP file called guestbook.php at my website novasuecia.se. It displays perfectly at http://novasuecia.000webhostapp.com/guestbook.php.

I now try to show it on my start page http://novasuecia.se/index.html using the code <?php include 'guestbook.php';?> but nothing is shown, not even an error message.

The files guestbook.php and index.html are on the same level.

What could possibly be wrong?

Solved by adding this line to the .htaccess file:

AddType application/x-httpd-php .php .html .htm

1 Like