Jump to content

replacing frame page with PHP cells


oniman4u

Recommended Posts

Hello,

 

I wish to replace the frame page I have: http://www.spaxperience.com/spas.html using PHP cells instead.

 

Currently the bottom framed website does not show up properly in IE6 or IE7. The bottom framed site is suppose to look like: http://www.arcticspas.com/index.php/en/custom_links/1/1/

 

So I wish to try using php cells instead. The one thing that has to happen is that when you are navigating the site below the header, the header stays, but when you navigate back to the main site the header dissappears.

 

Can this be done using PHP....I am a complete PHP neophyte.......

 

Thanks,

James

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/39575-replacing-frame-page-with-php-cells/
Share on other sites

Sounds like you need the include() function.

in your index.php you have e.g.

 

<?php

include('header.php');

include('left.php');

include('main.php');

include('right.php');

include('footer.php');

?>

Setup each page

Then in the stylesheet set up an id for the left + right

 

#left

{

float:left;

}

 

 

#right

{

float:right;

}

 

Then make sure your left and right start and end with <div id="left"> ...</div>

 

When parsed by the server all the bits will be in the correct place.

 

Martin

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.