Hi,
i am been passed onto to do finish of a website for a client, and currently working on updated code from a colleague of mine, right now i have a header stored called top_menu.php which is being called in my index.php file BUT when the page is displayed i’m not seeing the header:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to Free2learn LTD</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/control.css"/>
<link rel="icon" href="images/Free2learn-favicon2.ico" type="images">
<script type="text/javascript" src="js/jquery-1.3.1.min.js"></script>
<script type="text/javascript" language="javascript" src="js/jquery.dropdownPlain.js"></script>
</head>
<body>
<div id="wrapper">
<div id="header">
<ul id="breadcrumbs-nav">
<li><a href="accessibility.html">Accessibility</a></li>
<li><a href="site=map.html">Site Map</a></li>
<li><a href="jobs.html">Jobs</a></li>
<li class="last"><a href="contact-us.html">Find US</a></li>
</ul>
<p><a href="index.php"><img src="images/logos/Logo.png" alt="Free2learn Logo" /></a></p>
<div id="search">
<form action="http://www.free2learn.eu/Search-Result.html" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="007197844040554752670:6x2nidux6ve" />
<input type="hidden" name="cof" value="FORID:10" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="20" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src=""></script>
</div><!-- end search div -->
<div class="tel-number"><img src="images/telephone_number.png" alt="Free2learn Phone Number 0208 525 9430"/></div>
<!--end number -->
</div><!--end header-->
<div id="main-container">
<?
$name= "index";
include ("top_menu.php")?>
<div id="top-image">
<img src="images/flash_banner1.jpg" width="960" height="277" alt="Free2learn Flash banner, We are Free2learn - Enrol, train and go" />
</div><!--end top image-->
<div class="welcome-messge">
<h1>Welcome to Free2learn</h1>
<p>If you’re here to start training, find a job, offer a placement or to invest in a successful partnership you’ve come to the right place!</p>
<p>You see, here at Free2Learn we believe that there’s a right place for everyone, and through our bespoke process we’ll be guiding you from course training all the way to finding a job. </p>
<p>We’re here to make your life easier, help you find the right path and take your career further. </p>
</div><!--end welcome-message-->
<div class="training-course-button">
<p><img src="images/home/training_courses_button.png" alt="View training course title image - please click on click here below" /></p>
<p class="click"><a href="applicants/training-courses.html">Click Here</a></p>
</div>
<div class="course-finder"><img src="images/home/course_finder_background.png" alt="course finder image" />
<div class="scoller">
<form name="jumpmenu" id="jumpmenu" action="">
<select name="jump" onchange="MM_jumpMenu('parent',this,0)">
<option selected="selected" value="#">Please select our courses</option>
<option value="applicants/training-courses.html">Security</option>
<option value="#">Contruction</option>
<option value="#">Retail</option>
<option value="#">Hospitality</option>
<option value="#">Customer Service</option>
<option value="#">Health Care</option>
<option value="#">Apprenticeships</option>
</select>
</form>
</div><!-- end scoller-->
</div><!--end course-finder-->
<div class="applicants"><a href="applicants.html" title="Click here" >
<img src="images/home/Applicants thumbnail.jpg" width="308" height="332" alt="Applicants section image - click here for more detail"/></a></div>
<div class="employers"><a href="employers.html" title="Click here" >
<img src="images/home/employers_thumbnail.jpg" width="308" height="332" alt="Employers section image - click here for more detail" /></a></div>
<div class="partners"><a href="partners.html" title="Click here" >
<img src="images/home/partners_thumbnail.jpg" width="307" height="330" alt="Partners section image - click here for more detail" /></a></div>
</div><!--end main-container -->
<?
include ("logo.php");
include ("footer.php");
?><!--end footer-->
</div> <!--end wrapper -->
</body>
</html>
top_menu.php
<div id="menu">
<ul class="dropdown">
<?
if ($name=="index")
{
?>
<li><a class="current"> Home </a></li>
<? }
else
{
?>
<li><a href="index.php"> Home </a></li>
<? }
?>
<li><a href="applicants.php">Applicants</a>
<ul class="sub_menu">
<li><a href="applicants.html">Information for Applicants</a></li>
<li><a href="applicants_fld/training-courses.php">Training Courses</a></li>
<li><a href="applicants_fld/enrolment-info.php">Enrolment Information</a></li>
<li><a href="applicants_fld/benefit-of-work.php">Benefits of Working</a></li>
<li><a href="applicants_fld/improve-career-prospects.php">Improving Career Prospects</a></li>
<li><a href="applicants_fld/career-advice.php">Career Advice</a></li>
<li><a href="applicants_fld/success-stories.php">Success Stories</a></li>
</ul>
</li>
<li><a href="#">Employers</a>
<ul class="sub_menu">
<li><a href="#">Information for Employers</a></li>
<li><a href="#">Training Courses</a></li>
<li><a href="#">Enrolment Information</a></li>
</ul>
</li>
<li><a href="#">Partners</a>
<ul class="sub_menu">
<li><a href="#">Information for Partners</a></li>
<li><a href="#">Training Courses</a></li>
<li><a href="#">Enrolment Information</a></li>
</ul>
</li>
<li><a href="#">About us</a></li>
<li><a href="#">Contact us</a></li>
</ul>
</div>
can somebody tell me why i can’t seem to see the header? My colleague is using something similar to WAMP but he’s not sure the name. I on the other hand is usign WAMP and i have 1 more friend who is using a similar 1 but they are both able to see the header. Why can’t i??
Is this a server issue?