I've been out of the web world for a little while, but I'm trying to make a website using HTML5 and PHP. It's a simple html file with a PHP include statement linking to PHP file. This is basically my index.html file:
<!DOCTYPE HTML>
<html>
<head>
<title>Title</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<?php include("header.php"); ?>
TEST
</body>
</html>
</html>
And to keep it simple, let's say header.php just has the following:
<div class="header">
Hello
</div>
So the text in index.html will show up but nothing from header.php. I have PHP5 downloaded, so I don't understand what the problem is. Are there some configuration settings that need to be set before trying to load this local file? Is it something with HTML5? All my PHP projects from college don't load either and they used to locally. Appreciate the help, thanks!
error_reporting(E_ALL)tells you?