please my log in page works, but when i echo the sesion username ,it didnt show , i have started the session on all pages.(painted the line in green)thanks
header mark up
<!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>
<title>Reacheasy - Foremost website for easy reach of things globally</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link href="reasy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="outer">
<div id="page">
<div id="header">
[COLOR="#00FF00"]<h1>Reacheasy <?php echo $_SESSION['username'];?></h1> [/COLOR]
<ul id="nav">
<li class="current"><a href="index.php">Home</a></li>
<li><a href="women.php">Women</a></li>
<li><a href="men.php">Men</a></li>
<li><a href="children.php">Children</a></li>
<li><a href="homeandappliances.php">Home&Appliances</a></li>
<li><a href="visionandsound.php">Vision&Sounds</a></li>
<li><a href="motoring.php">Motoring</a></li>
<li><a href="homemore.php">More</a></li>
<li><a href="homecontact.php">Contact us</a></li>
</ul>
</div> <!--end of navigation div -->
</div>
<div id="navigation">
<div>
<form action='relogin.php' method='POST' class='rl'>
<fieldset>
<legend>Login</legend>
<div>
<label for='username' class='fixedwidth'>Username</label>
<input type='text' name='username' id='username'/>
</div>
<div>
<label for='password' class='fixedwidth'>Password</label>
<input type='password' name='password' id='password'/>
</div>
<div class='buttonarea'>
<input type='submit' value='Log in'>
</div>
</form>
<p>
<a href='reregister.php'>Register </a>
</p>
</div>
</fieldset>
<div id="advert">
<ul>
<li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=r0ab-21&o=2&p=20&l=ur1&category=generic&banner=0YCR1B12KQC9EA34FF02&f=ifr" width="120" height="90" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe></li>
<li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=r0ab-21&o=2&p=11&l=ur1&category=endless&banner=1BXHM01F8MNJJGXPV2R2&m=endless&f=ifr" width="150" height="600" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe></li>
</ul>
</div>
</div> <!--end of navigation div -->
index mark up
[COLOR="#00FF00"]<?php require_once("include/session.php");?>[/COLOR]
<?php require_once("include/functions.php");?>
[COLOR="#00FF00"]<?php include("include/header.php");?>[/COLOR]
<div id="bodycontent">
<div id="bannercontainer">
<a href="img/hp.jpg"></a></div>
<div id="pbanner">
<ul id="promo-banners">
<li class="promo-banner">
<h2>
<a href="women.html">Women</a>
</h2>
<a href="women.html"><img height="198" width="228" src="img/fashion.jpg" alt=" alibi"/>
</a>
<p class="promo-seo">
glam up for this season hottest party reduction
<a href="men.html">Men</a>
</p>
</li>
<li class="promo-banner">
<h2>
<a href="children.html">Children</a>
</h2>
<a href="women.html"><img height="198" width="228" src="img/children.jpg" alt=" alabi"/>
</a>
<p class="promo-seo">
glam up for this season hottest party reduction
<a href="men.html">Men</a>
</p>
</li>
<li class="promo-banner">
<h2>
<a href="visionandsound.html">Vision&Sounds</a>
</h2>
<a href="women.html"><img height="198" width="228" src="img/vands.jpg" alt=" alabi"/>
</a>
<p class="promo-seo">
glam up for this season hottest party reduction
<a href="men.html">Men</a>
</p>
</li>
<li class="promo-banner">
<h2>
<a href="motoring.html">Motoring</a>
</h2>
<a href="women.html"><img height="198" width="228" src="img/cars.jpg" alt=" alabi"/>
</a>
<p class="promo-seo">
glam up for this season hottest party reduction
<a href="men.html">Men</a>
</p>
</li>
<li class="promo-banner">
<h2>
<a href="homeandappliances.html">Home&Appliances</a>
</h2>
<a href="women.html"><img height="198" width="228" src="img/lightning.jpg" alt=" alabi"/>
</a>
<p class="promo-seo">
glam up for this season hottest party reduction
<a href="men.html">Men</a>
</p>
</li>
<li class="promo-banner">
<h2>
<a href="men.html">Men</a>
</h2>
<a href="women.html"><img height="198" width="228" src="img/men.jpg" alt=" alabi"/>
</a>
<p class="promo-seo">
glam up for this season hottest party reduction
<a href="men.html">Men</a>
</p>
</li>
</ul>
</div>
</div>
</div>
<?php include("include/footer.php");?>
session
<?php session_start();
?>