Jump to content

PHP table includes


rbrennan

Recommended Posts

Hello,

 

I've built a table with PHP includes.  My question is how do I select a link on one page(cell) in the table and have it launch in the content(another cell) page.

 

My index.php looks like this:

 

<table width="100%" border="1">

  <tr>

    <td colspan="2"><?php require_once('header.php'); ?></td>

    <td width="100%"><?php require_once('spare.php'); ?></td>

  </tr>

  <tr>

    <td width="24%"><?php require_once('menu.php'); ?></td>

    <td colspan="2"><?php require_once('content.php'); ?></td>

  </tr>

  <tr>

    <td colspan="3"><?php require_once('footer.php'); ?></td>

  </tr>

</table>

 

How to I put a <a HREF="<URL>"> on the menu.php page and have it open in the cell that is currently included with content.php?

 

Thanks,

Ron

Link to comment
https://forums.phpfreaks.com/topic/131078-php-table-includes/
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.