Forum Moderators: coopster
I have been designing a website and use PHP includes for the navigation.
E.g
Links are defined as...
<a href="../mysite/index.php?page=page1" class="nav">First Page</a>
And then php code as...
if ($page=="page1") {include("../mysite/pages/p1.php"); };
I have been using this method for a while as I have not learnt a great deal of PHP. I have found that when I try to use 3rd party software on my site (E.g photo albums) they refuse to work as the 'Headers are already defined'.
Is there a way I can modify this code so that I am not using headers?
Hope someone can help!
You might want to look at output cotrol functions in PHP.
[php.net...]
Hope that helps,
Saurabh.