eschuppe
04-13-2009, 04:52 AM
Hello everyone,
I'm including php in my document(which works perfectly fine). However, when the form is being handled one table just disappears. I've tried several thing, such as using include to handle the table, moving the form. All of these have no effect on the disappearing table. The page can be found at http://ericschuppe.com/signinm.php
to test this type in 0001 for user id and any number greater than 3 digits for user code
Following hitting signout, the table at the bottom will disappear.
<?php
session_start();
if (!isset($_SESSION['user']))
{
header("Location: login.php");
}
?>
<html>
<head>
<style type="text/css">
body
{
background-color: #EBF4FA;
background-image: url('images/layout_01.gif');
background-repeat: repeat-x;
}
</style>
</head>
<body>
<table width="542" align="center" cellpadding="0" cellspacing="0" height="589">
<tr>
<td width="7" height="589" rowspan="4" background="images/right.png">
<p align="center"> </p>
</td>
<th width="528" height="105" align="center" valign="top">
<img src="images/layout_05.gif" width="528" height="116" border="0" align="middle">
</th>
<td width="7" height="589" align="center" valign="top" rowspan="4" background="images/left.png"> </td>
</tr>
<tr>
<th width="528" height="17" align="center" valign="top"><?php include('menu.html'); ?></th>
</tr>
<tr>
<th width="528" height="447" align="center" valign="top" bgcolor="#F8FCFF">
<p align="left"> <?php include('signin.php'); ?></p>
</th>
</tr>
<tr>
<th width="528" height="3" align="center" valign="bottom"><img src="images/layout_10.gif" width="528" height="15" border="0" align="bottom"></th>
</tr>
</table>
</body>
</html>
Thanks.
I'm including php in my document(which works perfectly fine). However, when the form is being handled one table just disappears. I've tried several thing, such as using include to handle the table, moving the form. All of these have no effect on the disappearing table. The page can be found at http://ericschuppe.com/signinm.php
to test this type in 0001 for user id and any number greater than 3 digits for user code
Following hitting signout, the table at the bottom will disappear.
<?php
session_start();
if (!isset($_SESSION['user']))
{
header("Location: login.php");
}
?>
<html>
<head>
<style type="text/css">
body
{
background-color: #EBF4FA;
background-image: url('images/layout_01.gif');
background-repeat: repeat-x;
}
</style>
</head>
<body>
<table width="542" align="center" cellpadding="0" cellspacing="0" height="589">
<tr>
<td width="7" height="589" rowspan="4" background="images/right.png">
<p align="center"> </p>
</td>
<th width="528" height="105" align="center" valign="top">
<img src="images/layout_05.gif" width="528" height="116" border="0" align="middle">
</th>
<td width="7" height="589" align="center" valign="top" rowspan="4" background="images/left.png"> </td>
</tr>
<tr>
<th width="528" height="17" align="center" valign="top"><?php include('menu.html'); ?></th>
</tr>
<tr>
<th width="528" height="447" align="center" valign="top" bgcolor="#F8FCFF">
<p align="left"> <?php include('signin.php'); ?></p>
</th>
</tr>
<tr>
<th width="528" height="3" align="center" valign="bottom"><img src="images/layout_10.gif" width="528" height="15" border="0" align="bottom"></th>
</tr>
</table>
</body>
</html>
Thanks.