Please please please i need a bit of help, with setting my php site layouts. I have decided to use tables instead of page frames for various reasons.
I am now however having some problems with getting my page to display as I wish, so if anyone could please give advice.
O.K here's the index page (This page consist of the tables layout >> header, left panel, middle section, right panel, and the footer).
This is the coding of the middle section, which automatically calls the homepage.php and displays it.
echo '<td bgcolor="#ffffff">';
case 'homepage': include('homepage.php');
case 'category': include ('category.php');
The first part of this works fine. but when i change the value of $location from another page as shown below:
$position = 'category';
it does displays the category.php but it displays the result outside the table.
I am really confused. I have tried diffrent approaches and just can't get it to work.
is there any suggestion or alternative way of working with pages layout?.
what i am trying to do is get the category.php to display and get rid of homepage.php showing. but instaed both pages are still displaying. (homepage.php in the middle section and category.php outside the table, after the page footer)..