Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2009
    Posts
    25
    Thanks
    3
    Thanked 0 Times in 0 Posts

    table alignment when including php

    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.
    Code:
    <?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">&nbsp;</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">&nbsp;</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">&nbsp;<?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.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Mar 2009
    Posts
    25
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I tried using css to do it, but the outcome was virtually the same, the image disappeared upon hitting submit. Any other ideas?

    Thanks again.
    Last edited by eschuppe; 04-13-2009 at 06:23 PM.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    I tried using css to do it, but the outcome was virtually the same, the image disappeared upon hitting submit.
    Please post a link to your updated page.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •