<!DOCTYPE html>
<html>
<head>
<?php include('head.php'); ?>
</head>
<body>
-snip-
</body>
</html>
What am I doing wrong? When I open this file (index.html) in a browser it shows a blank page, and nothing in my php file shows. It doesn't recognize the include statement as code.
My php file contains this:
<title>Title here</title>
<link rel="stylesheet" type="text/css" href="main.css">
Feel free to yell at me, as I am a beginner. I tried looking this up and I made sure the syntax is correct.
*.phpnot*.html