<h3>Important Links</h3>
<ul>
<li><a href="index1.html">Home</a></li>
<li><a href="mysites.html"><font color="red">My Sites</font></a></li>
<li><a href="amazingfacts.html">Interesting Facts</a></li>
<li><a href="viewgallery.php">Gallery</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
I saved the above code in a file called menu.php.
I have the following code in one of my html pages.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>jppp - My Personal Web Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="jppp - My Personal Web Page - interesting facts"/>
<meta name="keywords" content="jppp, personal web page, first web site, interesting facts"/>
<link rel="stylesheet" href="personal3.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="header"> </div>
<div id="content">
<h1>Interesting Facts</h1>
<p>
Content goes here. Content goes here. Content goes here.
</p>
</div>
<div id="leftmenu">
<div id="side1">
<?php include("menu.php"); ?>
</div></div>
<div id="footer"><br /><p>
Site created by jppp - All rights reserved © 2007–2008|<a href="http://validator.w3.org/check?uri=referer">XHTML|</a>
<a href="http://jigsaw.w3.org/css-validator/check/referer">
CSS
</a>
</p></div>
</div>
</body>
</html>
But even though I have included the php file called menu.php, when I look at my html page, the left menu is missing. I am not able to make out where I am making a
mistake. Why is my php include file getting included in my html file?