With the website I am creating, I created a skeleton, if that is the correct word, file that has all the layout HTML. Every page will look the same except for what is in the body of the page.
This file will include the login/logout code, a side bar that has a survey in it with the results written to a text file, and of course the nav bar and footer.
I thought I could just use this
<?php include 'header.php'; ?>
at the top of the other pages and just have the code only necessary for each page on the other pages. My problem is that I cannot get any of the other stuff from the other pages go into the body where I want it. It just goes off to the side or in come cases, underneath everything else on the page.
I can show the code if need be, but is there a special that this needs to be done?