advancedfuture Posted January 16, 2008 Share Posted January 16, 2008 So I have an HTML template page with PHP includes... i.e HTML CODE HERE <?php if($employer_acct == 'y') { include 'modules/listing_module.php'; } ?> HTML CODE HERE now the problem is if that if statement is triggered I get the "headers already sent" message. The problem is I don't want that content showing to everyone! Only certain users... it works just fine... it just shows that message. Is there any way I can get around this? Quote Link to comment https://forums.phpfreaks.com/topic/86384-solved-how-to-get-around-headers-already-sent-message/ Share on other sites More sharing options...
Jessica Posted January 16, 2008 Share Posted January 16, 2008 Read the sticky. Quote Link to comment https://forums.phpfreaks.com/topic/86384-solved-how-to-get-around-headers-already-sent-message/#findComment-441415 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.