Jump to content

[SOLVED] how to get around "headers already sent" message


advancedfuture

Recommended Posts

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.