Hi,
I have a similar problem. Basically, I have a main.php which sets up a toolbar and calls in other pages (like- case: something: include(something.php);break;)...this is basically so that I can have the toolbar in one location, so that I can change it in only that place instead of every single page. So I have some php in the beginning to make sure the user is signed in. Then I have the html. Included in the html is the 'include' feature php (this way the pages are called under the toolbar). The problem is, most of the pages being called are php pages. So, when I have a php page that has a "header:" in it, it comes up with the error. When I moved the "case/include" php in the main.php to above the html, everything worked fine. Now it just looks stupid, with the toolbar underneath it. I am sorry for the complicated story, but I was hoping that somebody would have a suggestion (maybe an easier way to store the toolbar in one location.) Thanks for any and all help.
|