Jump to content

table disapearing upon form handling


eschuppe

Recommended Posts

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,adding a table for the form only and using div. 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.

Link to comment
https://forums.phpfreaks.com/topic/153882-table-disapearing-upon-form-handling/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.