Jump to content

display 2 php codes at the top & bottom of a cell


ilikephp

Recommended Posts

Hello, Inside my cell or table I need to display 2 php codes, one that should be displayed at the top and another one at the bottom:

How can I do it plz?

Here are the codes...

 

<td width="212" align="left" valign="top" bgcolor="#FFFFFF"><?PHP include "phpFiles/top.php"; ?></td>

 

and I need to add another php code that should be displayed at the bottom of the cell, which is:

<?PHP include "phpFiles/bottom.php"; ?>

Link to comment
Share on other sites

Thx for help!

my prob is that I need to display these 2 codes in one cell

the first 1 at the top and the bottom.php at the bottom of the same cell:

 

<?php include "phpFiles/top.php"; ?>

<?php include "phpFiles/bottom.php"; ?>

 

so inside the bottom.php there is a picture and inside the top there is another picture, and when I write the 2 php codes the pictures will be called and will be displayed.

Link to comment
Share on other sites

Place both lines within your <td></td> tags.

 

<td width="212" align="left" valign="top" bgcolor="#FFFFFF">
   <?php include "phpFiles/top.php"; ?>
   Text for cell here
   <?php include "phpFiles/bottom.php"; ?>
</td>

 

Or do

 

<tr>
   <td><?php include "phpFiles/top.php"; ?></td>
   <td width="212" align="left" valign="top" bgcolor="#FFFFFF">
   Text for cell here
   <td><?php include "phpFiles/bottom.php"; ?></td>
</td>

 

How images/text are positioned on your web page is controlled by HTML/CSS.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.