How to use a php include in header.txt file
Posted: Tue Aug 21, 2007 5:43 am
Script URL: http://www.hilaryshepherd.com/links/links.php
Version of script: 1.03
Hosting company: 1and1.com
I wanted to include a php include in the header file. What is the proper way to do this?
Here is what I tried to do:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="images/style.css" type="text/css" />
<title>Real Estate Marketing In Tracy, CA Notary Public</title>
</head>
<?php include("includes/top-header.php"); ?>
Version of script: 1.03
Hosting company: 1and1.com
I wanted to include a php include in the header file. What is the proper way to do this?
Here is what I tried to do:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="images/style.css" type="text/css" />
<title>Real Estate Marketing In Tracy, CA Notary Public</title>
</head>
<?php include("includes/top-header.php"); ?>