More PHP Table Help
Posted: Thu Jun 19, 2003 9:12 pm
Scenario: home page w/table, 3 columns. In the center column I am calling a script to post news like this:
The news posts are stored in MySQL, and I display three at a time in the column... well, almost...
Everything works fine except when I choose the next page of posts, it's a new page and is no longer contained within the context of the table/column that the original 'include' displayed. Is there a way to fix this?
Here is the code that calls the next page of posts:
I know that I can rewrite the index.php file to have all the attributes of my home page (menus, graphics, etc) and just use the index.php directly, but I'd like to solve this inside of a table if possible.
Anyone?
Code: Select all
<td>
<?php include 'index.php' ?>
</td>Everything works fine except when I choose the next page of posts, it's a new page and is no longer contained within the context of the table/column that the original 'include' displayed. Is there a way to fix this?
Here is the code that calls the next page of posts:
Code: Select all
echo "[<a href="index.php?page=$next" title="Page $next">Next >></a>]";Anyone?