PHP issue with webpage

Associate
Joined
13 Jan 2007
Posts
2,424
Location
Belfast,Northern Ireland
Basically the below all works fine, it is easily possible to login and do whatever I need. However the php entered causes everything below it not to be displayed....I do not know why. For example you have:

<div class="big-content-bottom">
</div> <!--end big content bottom-->

The image linked in the style sheet does not appear, nor does the footer. I dont quite understand as it is closed off correctly?

Code:
<div id="block_feature"> 
             <div class="big-content-top"> 
             <h4>ADMINISTRATOR ACCESS ONLY</h4>
             <h5>Please enter your login details below...</h5> 
             </div> <!--end big content top-->
             <div class="big-content-middle">
             <?php
if (!isset($_SESSION['admin'])){
    echo '	
<form action="admin_check.php" method="post" target="_self">  
    Username:<input type="text" name="username" id="username"  />
	
	Password:<input type="password" name="password" id="password"  />
	
	' . $error_msg . '
	
   <input type="submit" name="button" id="button" value="Login" />
</form> ';
exit();
}
?>
              </div> <!--end big content middle--> 
   <div class="big-content-bottom">
   </div> <!--end big content bottom-->
             </div>  <!--end featured-->
 
Back
Top Bottom