Hey all,
I'm using PHP include to pull in html from external .php files to build a page (using like SSI). In Chrome/Firefox/Safari it works great, but in IE the included html shows up in random areas of the page.
For example, my code is:
Code:
<div id="topArea">
<!-- BEGIN HEADER FRAG -->
<?php include("header.php"); ?>
<!-- END HEADER FRAG -->
<!-- BEGIN NAVBAR FRAG -->
<?php include("navbar.php"); ?>
<!-- END NAVBAR FRAG -->
</div> <!-- /topArea -->
<div id="homepageContent">
Some content
</div> <!-- /homepageContent -->
In this example, Chrome, Firefox and Safari all render the html from header.php in the topArea div, like it should. But in IE, sometimes it will render header.php in the homepageContent div. Any idea why this would be happening? Thank you!
Bookmarks