Hello,
I am trying to find a way to push the admin footer down. How?
admin/access.php
<button type="button" onClick="parent.location='edit_teacher_access.php'">Add Teacher</button><br><br>
<h3>Teacher Access:</h3><br>
<table id="admintable" border="1" cellpadding="2" cellspacing="0" width="700px">
<tr>
<th>Name</th><th>Username</th><th>Password</th><th>Access Level</th>
</tr>
<?php
$i=0;
while ($data = mysql_fetch_array($result)){
$result2=($i%2)?'#DFA09D':'white';
//echo "<tr bgcolor='$result2'>";
//echo '<td>'.$data['page'].'</td>';
//echo "<td><a href='post.php?post_id=".$data['post_ID']."'><img src='../images/post.jpg'></a></td>";
//echo '</tr>';
echo "<tr bgcolor='$result2'>";
echo '<td><a href="edit_teacher_access.php?teach_id='.$data['teach_id'].'">'.$data['teach_fname'].'</a></td>';
echo '<td>'.$data['teach_username'].'</a></td>';
echo '<td>'.$data['teach_password'].'</a></td>';
echo '<td>'.$data['access_level'].'</td>';
echo '</tr>';
$i++;
}
?>
</table>
</form>
</div>
</div>
</center>
</div>
</div>
<br><br><br><br><br><br>
<?php include('../adminfooter.php'); ?>
</body>
</div>
</div>
</html>
This is for user access. Whenever the user enter a new data, the footer must be pushed down but this is not the case. Therefore the new data begin to overlap in the footer. How to push the footer down?
adminfooter.php
<?php /* this is the footer codes */ ?>
<div id="footer">
<hr width=1000px;>
<center>
<div id="logo"><?php //<img src="../images/logo.png" height="90px"> ?></div>
</center>
<center><?php /*
<div id="admfooternav"><a href="admin.php">Admin</a> | <a href="Admin.php">User</a> | <a href="Admin.php">Pages</a> | <a href="input_image.php">Image Gallery</a></div>
*/ ?></center>
<div id="netlink"><a href="http://www.rustoleum.com"></a></div>
</div>
Currently the table overlap the footer.
Please help.
Thanks in advance.