mrwiggles Posted July 16, 2008 Share Posted July 16, 2008 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 Link to comment https://forums.phpfreaks.com/topic/115127-solved-menu-using-includes-file-what-do-do-with-ie/ Share on other sites More sharing options...
trq Posted July 16, 2008 Share Posted July 16, 2008 Remove it from your header.php file. Link to comment https://forums.phpfreaks.com/topic/115127-solved-menu-using-includes-file-what-do-do-with-ie/#findComment-592057 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.