Forum Moderators: coopster
<!--#include virtual="/directory/filename.html" -->
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>include</title>
</head>
<body>
<header>my header code</header>
</body>
</html>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>page</title>
</head>
<body>
<!-- php code for header here -->
<article>page article</article>
<footer>page footer</footer
</body>
</html>
So the code would look like this for the in include
<p>This content be included on the page, This content be included on the page, This content be included on the page, This content be included on the page</p>
note: I've put a paragraph opening and closing tag to illustrate that you can use tags. <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>page</title>
</head>
<body>
<!-- php code for header here -->
<article>page article</article>
<footer>page footer</footer
</body>
</html>