oniman4u Posted February 22, 2007 Share Posted February 22, 2007 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 More sharing options...
mgs019 Posted February 22, 2007 Share Posted February 22, 2007 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 Link to comment https://forums.phpfreaks.com/topic/39575-replacing-frame-page-with-php-cells/#findComment-191354 Share on other sites More sharing options...
oniman4u Posted February 24, 2007 Author Share Posted February 24, 2007 Unfortunately I do not have access to the main site at all..... So, using php cells vs frames would yield the same results without changing code in the main site? Link to comment https://forums.phpfreaks.com/topic/39575-replacing-frame-page-with-php-cells/#findComment-193174 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.