Footer moves up somehow...
Posted: Wed Feb 18, 2004 4:35 am
Go to http://www.8th-dimension.net/index.php?act=home
As you can see it has a footer at the end of the page...
>> © Copyright 2004, All rights reserved. <<
>> Proudly Hosted By: http://bridgefsw.com! <<
I don't know why its there, but its in its usual place on other pages
The code for the page is below:
Is it because the whole page is in PHP? I have used includes to add all the pages together...
index.php is as follows:
Thanks 
As you can see it has a footer at the end of the page...
>> © Copyright 2004, All rights reserved. <<
>> Proudly Hosted By: http://bridgefsw.com! <<
I don't know why its there, but its in its usual place on other pages
The code for the page is below:
Code: Select all
<?php
$sql = 'SELECT `id` , `date` , `time` , `title` , `news` , `admin` ';
$sql .= 'FROM `news` ';
$sql .= 'WHERE 1 LIMIT 0, 30';
$result = mysql_query($sql);
if (!$result) {
echo("<p>Error performing query: " . mysql_error() . "</p>");
exit();
}
// Display the NEWS
while($x = mysql_fetch_array($result)) {
echo("<table width="100%">
<tr>
<td class="menu_heading"><b><center> -[[ Subject: " . $x["title"] . " // Posted on: " . $x["date"] . " @ " . $x["time"] . "By: " . $x["admin"] . "]]-
</center>
</b>
</td>
</tr>
<tr>
<td class="news_content"><center>" . $x["news"] . "</td></center></tr><br><br>");
}
?>index.php is as follows:
Code: Select all
<? include "config.php"; ?>
<html>
<head>
<title>]::[ 8th-dimension.net ]::[</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>
<body>
<table width="100%">
<tr>
<td align="center" class="header">
<? include "includes/header.php"; ?>
</td>
</tr>
</table>
<table width="100%" class="body_content">
<tr>
<td class="body_menu" valign="top" width=210>
<? include "includes/menu.php"; ?><br>
<? include "includes/webmail_login_menu.php"; ?><br>
<? include "includes/admin_login_menu.php"; ?><br>
<? include "includes/shout.php"; ?><br>
<? include "includes/info.php"; ?><br>
<? include "includes/link2us.php"; ?><br>
<? include "includes/linksaff.php"; ?>
<br><br>
</td>
<td class="body_main" valign="top">
<? include "includes/pages.php";?>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td align="center">
<? include "includes/footer.php"; ?>
</td>
</tr>
</table>
</body>
</html>