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"; ?>

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.

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.

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.