Jump to content

[SOLVED] Menu Using "includes file" - What do do with "ie"


mrwiggles

Recommended Posts

Here is the link:

http://www.linuxtestingserver.com/Untitled.php

 

I use .asp, asp.net, and html. I am developing a site that will have about 650 pages.

I'm using a css menu.

 

The proble is that I need to learn how to use a php includes file to update all the menus with one file. So I've created this test. I wish I had more time to become an expert, but php is not my bag.

 

Here is the code:

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<html> 
<head> 
<title> This is the page title </title>
<head> 
<body> 
<!--HEADER --> 
<div id="header">
  <?php include 'includes/header.php'?>
</div> 
<!--HEADER -->

<!--TOPNAV -->
<ul> 
<li><a href="index.php">HOME</a></li> 
<li><a href="aboutus.php">ABOUT US</a>
</li> <li><a href="contactus.php">CONTACT US</a></li> 
</ul> 
</div>
<!--TOPTNAV -->

<!--LEFTNAV --> 
<?php include 'includes/leftnav.php'?>
<ul> 
<li><a href="index.php">HOME</a></li> 
<li><a href="aboutus.php">ABOUT US</a></li> 
<li><a href="contactus.php">CONTACT US</a></li> 
</ul> 
</div>
<!--LEFTNAV --> 

<body>
</body>
</html>

 

My includes file:

(ie
<ul>
  <li><a href="index.php">xxxxxx</a> </li>
  <li><a href="aboutus.php">Axxxxxxx</a> </li>
  <li><a href="contactus.php">xxxxxx</a> </li>
</ul> 
<!--HEADER --><!--HEADER -->) <br />

 

As you can see from the web address above, the "ie" shows up on the menu. I'd appreciate it if some would clue me in as to how to eliminate this from the page view of untitled.php.

Thanks

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.